diff options
-rwxr-xr-x | bin/gnome3-dconf-bindings | 13 | ||||
-rwxr-xr-x | bin/gnome3-keybindings | 7 |
2 files changed, 7 insertions, 13 deletions
diff --git a/bin/gnome3-dconf-bindings b/bin/gnome3-dconf-bindings deleted file mode 100755 index 105c8f1..0000000 --- a/bin/gnome3-dconf-bindings +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-1 "['<Super>1']" -dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-2 "['<Super>2']" -dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-3 "['<Super>3']" -dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-4 "['<Super>4']" -dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-5 "['<Super>5']" - -dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-1 "['<Shift><Super>1']" -dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-2 "['<Shift><Super>2']" -dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-3 "['<Shift><Super>3']" -dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-4 "['<Shift><Super>4']" -dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['<Shift><Super>5']" diff --git a/bin/gnome3-keybindings b/bin/gnome3-keybindings new file mode 100755 index 0000000..282fc0c --- /dev/null +++ b/bin/gnome3-keybindings @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in $(seq 1 9); 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']" +done |