]> git.lizzy.rs Git - bspwm.git/blob - examples/sxhkdrc
Four hyphens is enough
[bspwm.git] / examples / sxhkdrc
1 #
2 # bspwm hotkeys
3 #
4
5 super + alt + Escape
6     bspc quit
7
8 super + w
9     bspc close
10
11 super + t
12     bspc cycle_layout
13
14 super + b
15     bspc balance
16
17 super + {s,f}
18     bspc toggle_{floating,fullscreen}
19
20 super + {grave,Tab}
21     bspc {alternate,alternate_desktop}
22
23 super + apostrophe
24     bspc swap
25
26 super + m
27     wid=$(bspc biggest); \
28     [ -n "$wid" ] && xdo activate $wid && bspc swap
29
30 super + {_,shift + }{h,j,k,l}
31     bspc {focus,shift} {left,down,up,right}
32
33 super + {c,shift + c}
34     bspc cycle {next,prev}
35
36 super + {comma,period}
37     bspc circulate {backward,forward}
38
39 super + bracket{left,right}
40     bspc cycle_desktop {prev,next}
41
42 super + ctrl + {h,j,k,l}
43     bspc presel {left,down,up,right}
44
45 super + alt + {h,j,k,l}
46     bspc push {left,down,up,right}
47
48 super + alt + shift + {h,j,k,l}
49     bspc pull {right,up,down,left}
50
51 super + ctrl + {1-9}
52     bspc ratio 0.{1-9}
53
54 super + {_,shift + }{1-9,0}
55     bspc {use,send_to} {1-9,0}
56
57 :button1
58     bspc grab_pointer focus
59
60 super + button{1-3}
61     bspc grab_pointer {move,resize_side,resize_corner}
62
63 super + !button{1-3}
64     bspc track_pointer %i %i
65
66 super + @button{1-3}
67     bspc ungrab_pointer
68
69 #
70 # wm independent hotkeys
71 #
72
73 super + Return
74     urxvt
75
76 super + space
77     dmenu_run
78
79 # make sxhkd reload its configuration files:
80 super + Escape
81     pkill -USR1 -x sxhkd
82
83 # vim: set ft=sxhkdrc: