2021-07-29 11:30:09 -04:00
|
|
|
#!/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 '[]'
|
2021-07-29 23:36:11 -04:00
|
|
|
dconf load -f / < "$HOME/.config/yadm/fedora.dconf"
|
2021-07-29 11:30:09 -04:00
|
|
|
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
|