|
|
@ -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) |
|
|
|
}, |
|
|
|
|
|
|
|
} |