]> git.draconx.ca Git - fvwmconf.git/blob - common/bindings
Add key binding support for Colemak.
[fvwmconf.git] / common / bindings
1 # Globalbinds covers these.
2 Key Page_Down A CM Nop
3 Key Page_Up   A CM Nop
4 Key End       A CM Nop
5 Key Home      A CM Nop
6 Key Insert    A CM Nop
7 Key N         A CM Nop
8
9 # Window management
10 Key F4 A M  Close
11
12 # When programs don't set the resolution...
13 Key F12 A C Exec exec xrandr -s 0
14
15 # For moving ourself around desktops.
16 Key 1 A CM GotoPage 0 0
17 Key 2 A CM GotoPage 1 0
18 Key 3 A CM GotoPage 2 0
19 Key 4 A CM GotoPage 3 0
20 Key 5 A CM GotoPage 4 0
21 Key 6 A CM GotoPage 5 0
22
23 # Mousewheel stuff
24 Mouse 5 R A GotoPage wrapx +1p 0p
25 Mouse 4 R A GotoPage wrapx -1p 0p
26
27 Mouse 4 T N Windowshade True
28 Mouse 5 T N Windowshade False
29
30 # Console
31 Key grave A C  Exec exec $[TERMINAL]
32 Key grave A CM Exec exec $[TERMINAL] -e zsh -f
33 Key F3 A M  Module FvwmConsole -terminal urxvt
34
35 # Screen locking
36 Key XF86Standby A A Exec exec xscreensaver-command -lock
37
38 DestroyFunc DoPageMove
39 AddToFunc   DoPageMove
40 + I GotoPage   $0 0
41 + I MoveToPage $0 0
42
43 # Keymap config
44 PipeRead "[ -f '$[FVWM_USERDIR]/common/keymaps/$[KEYMAP]' ] \
45           && echo Read common/keymaps/$[KEYMAP] \
46           || echo Read common/keymaps/default"