aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gnome-set-config (renamed from bin/gnome3-keybindings)7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/gnome3-keybindings b/bin/gnome-set-config
index 282fc0c..5bfb476 100755
--- a/bin/gnome3-keybindings
+++ b/bin/gnome-set-config
@@ -1,6 +1,11 @@
#!/bin/sh
-for i in $(seq 1 9); do
+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']"
nihil fit ex nihilo