mirror of https://github.com/sgoudham/dotfiles.git
feat(gnome): add enable/disable static workspace scripts
parent
73d2ec3c64
commit
5e88807fea
@ -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…
Reference in New Issue