my-yadm/.config/yadm/bootstrap.d/gnome##os.Linux

26 lines
1.3 KiB
Text
Raw Normal View History

#!/bin/bash
if [[ -f /etc/os-release ]]; then
source /etc/os-release
if [[ "$ID" == "fedora" ]]; then
#gsettings set org.gnome.desktop.wm.keybindings activate-window-menu '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-group '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-group-backward '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down '[]'
#gsettings set org.gnome.desktop.wm.keybindings maximize '[]'
#gsettings set org.gnome.desktop.wm.keybindings unmaximize '[<Primary><Super>BackSpace]'
#gsettings set org.gnome.desktop.wm.keybindings activate-window-menu '[]'
#gsettings set org.gnome.desktop.wm.keybindings cycle-panels '[]'
#gsettings set org.gnome.desktop.wm.keybindings cycle-panels-backward '[]'
dconf load -f / < "$HOME/.config/yadm/fedora.dconf"
elif [[ "$ID" == "linuxmint" ]]; then
gsettings set org.cinnamon.desktop.keybindings.wm activate-window-menu '[]'
gsettings set org.cinnamon.desktop.keybindings.wm switch-group '[]'
elif [[ "$ID" == "ubuntu" ]]; then
gsettings set org.gnome.desktop.wm.keybindings activate-window-menu '[]'
gsettings set org.gnome.desktop.wm.keybindings switch-group '[]'
fi
fi