aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-22 16:39:23 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-22 16:39:23 -0700
commit0dc9d61942f397ec89e5ec3f0c92e322287638bb (patch)
treebb1f78aada3c9b063cccede1d521eedca2c97d61
parent70badad576856ff1ea34468ef60149c7c07b81cf (diff)
gnome-set-config: disable switch-monitor
-rwxr-xr-xbin/gnome-set-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/gnome-set-config b/bin/gnome-set-config
index 07ef21e..291d1fd 100755
--- a/bin/gnome-set-config
+++ b/bin/gnome-set-config
@@ -8,6 +8,9 @@ NUM_WORKSPACES=9
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces $NUM_WORKSPACES
+# Disable the default <Super>p. I don't use it, and it's disruptive when I accidentally trigger it.
+gsettings set org.gnome.mutter.keybindings switch-monitor '[]'
+
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']"
nihil fit ex nihilo