summaryrefslogtreecommitdiff
path: root/bindings.config
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-12-26 12:46:06 +0100
committerAnton Khirnov <anton@khirnov.net>2013-12-26 15:03:58 +0100
commit0a158488734ae043f466b64b01741d634ff883a8 (patch)
treebc4d88a7188813a4947b9723b7079ed2fa1d29cc /bindings.config
parent187862ed07028976c9840d2de195b609abf0d5a5 (diff)
bindings: add shortcuts for changing desktops
Diffstat (limited to 'bindings.config')
-rw-r--r--bindings.config13
1 files changed, 10 insertions, 3 deletions
diff --git a/bindings.config b/bindings.config
index c25f9ae..3fce6c6 100644
--- a/bindings.config
+++ b/bindings.config
@@ -36,8 +36,6 @@ Mouse 1 1 A Menu menu_WindowOps
# Key bindings for windows
Key M A 4 FvwmWindowMaximizeNoClick
-Key H A 4 Resize w+0 w+10
-Key H A S4 Resize w+0 w-10
Key G A 4 Resize w+10 w+10
Key G A S4 Resize w-10 w-10
Key S A 4 Pick Resize warptoborder
@@ -73,6 +71,15 @@ Silent Mouse 7 T N Resize br w+10 w+10
Silent Mouse 8 W N FvwmWindowMove
Silent Mouse 9 W N FvwmWindowResize
+# move across desktops with arrows
+Key Left A 4 DeskPrev
+Key H A 4 DeskPrev
+Key Right A 4 DeskNext
+Key L A 4 DeskNext
+
+# select a desktop with win+<f*>
+Piperead 'for i in `seq 0 11`; do j=$(($i+1)); echo Key F$j A 4 GotoDesk 0 $i; done'
+
# name desktops
Key n A 4 FormDeskName
@@ -97,7 +104,7 @@ Test (x xkill) Key Escape A M Exec xkill
Key Delete A CM Restart
# Lock screen
-Key L A 4 Exec $[infostore.lock]
+Key Pause A 4 Exec $[infostore.lock]
####################
# Launching apps #