Browse Source

add pgup/pgdn and some workspace switching to layouts

master
Brennen Bearnes 6 years ago
parent
commit
91f3a9397d
1 changed files with 44 additions and 3 deletions
  1. +44
    -3
      switch_config.py

+ 44
- 3
switch_config.py View File

@ -24,16 +24,57 @@ LAYOUTS = {
2: (MOD_KEY, Keycode.RIGHT_ARROW),
},
3: {
1: Keycode.PAGE_UP,
2: Keycode.PAGE_DOWN,
},
# These add some common chords to the primary mod key if used
# in combination with layout 0.
# Mod-Shift-G - brings up a list of active windows:
14: {
4: {
0: (Keycode.SHIFT, Keycode.G)
},
# Add this for mod-tab:
15: {
5: {
0: Keycode.TAB
}
},
# Add buttons for binding instant workspace switching in combination
# with layout 0.
8: {
0: Keycode.ONE
},
9: {
0: Keycode.TWO
},
10: {
0: Keycode.THREE
},
11: {
0: Keycode.FOUR
},
12: {
0: Keycode.FIVE
},
13: {
0: Keycode.SIX
},
14: {
0: Keycode.SEVEN
},
# Note window toggling:
15: {
0: (Keycode.SHIFT, Keycode.N)
},
}

|||||||
x
 
000:0
Loading…
Cancel
Save