aboutsummaryrefslogtreecommitdiff
path: root/bin/gnome-set-config
blob: 5bfb476312fb5e503732f64346f137c25071ac42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

NUM_WORKSPACES=9

gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces $NUM_WORKSPACES

for i in $(seq 1 $NUM_WORKSPACES); do
    gsettings set org.gnome.shell.keybindings switch-to-application-$i '[]'
    gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['<Super>$i']"
    gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-$i   "['<Shift><Super>$i']"
done
nihil fit ex nihilo