25 lines
1.3 KiB
Bash
Executable file
25 lines
1.3 KiB
Bash
Executable file
#!/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 / < "$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
|