feat(gnome): add enable/disable static workspace scripts

chezmoi
sgoudham 2 years ago
parent 73d2ec3c64
commit 5e88807fea
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -0,0 +1,10 @@
#!/bin/bash
gsettings set org.gnome.mutter dynamic-workspaces true
gsettings set org.gnome.desktop.wm.preferences num-workspaces 4
for i in {1..12}
do
gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "[]"
gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "[]"
done

@ -0,0 +1,10 @@
#!/bin/bash
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 12
for i in {1..12}
do
gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['<Super>${i}']"
gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['<Super><Shift>${i}']"
done
Loading…
Cancel
Save