#!/bin/bash

# Because Git submodule commands cannot operate without a work tree, they must
# be run from within $HOME (assuming this is the root of your dotfiles)
cd "$HOME"

echo "Init submodules"
yadm submodule update --recursive --init

source /etc/os-release

if [[ "$ID" == "linuxmint" ]]; then
  gsettings set org.cinnamon.desktop.keybindings.wm activate-window-menu '[]'
  gsettings set org.cinnamon.desktop.keybindings.wm switch-group '[]'
fi