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

28 lines
1.4 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 -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
dconf load -f /org/gexperts/Tilix < "$HOME/.config/yadm/tilix.dconf"