summaryrefslogtreecommitdiff
path: root/bindings.config
diff options
context:
space:
mode:
Diffstat (limited to 'bindings.config')
-rw-r--r--bindings.config9
1 files changed, 6 insertions, 3 deletions
diff --git a/bindings.config b/bindings.config
index 42553bc..c25f9ae 100644
--- a/bindings.config
+++ b/bindings.config
@@ -73,15 +73,18 @@ 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 pages with win or ctrl+alt + arrows
-Key Left A 4 WindowId root 1 WarpToWindow 10 50
-Key Right A 4 WindowId root 0 WarpToWindow 90 50
+# name desktops
+Key n A 4 FormDeskName
+
+# Move across pages with up/down arrows, mouse scroll or j/k
Key Up A 4 GotoPage 0p -1p
Key K A 4 GotoPage 0p -1p
Mouse 4 A 4 GotoPage 0p -1p
Key Down A 4 GotoPage 0p +1p
Key J A 4 GotoPage 0p +1p
Mouse 5 A 4 GotoPage 0p +1p
+
+# select a page directly with a number (0-9) or shift + number (10-19)
Piperead 'for i in `seq 0 8`; do j=$(($i+1)); echo Key $j A 4 GotoPage 0 $i; done'
Key 0 A 4 GotoPage 0 9
Piperead 'for i in `seq 10 18`; do j=$(($i-9)); echo Key $j A S4 GotoPage 0 $i; done'