42606ef79805066ea39642f0ccaf67c1466b6535
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
1 #
2 # bspwm hotkeys
3 #
4
5 super + alt + Escape
6 bspc quit
7
8 super + w
9 bspc window -c
10
11 super + t
12 bspc desktop -l next
13
14 super + b
15 bspc desktop -B
16
17 super + {s,f}
18 bspc window -t {floating,fullscreen}
19
20 super + {grave,Tab}
21 bspc {window,desktop} -f last
22
23 super + apostrophe
24 bspc window -s last
25
26 super + {o,i}
27 bspc control --record-history off; \
28 bspc window {older,newer} -f; \
29 bspc control --record-history on
30
31 super + y
32 bspc window -w last.manual
33
34 super + m
35 bspc window -s biggest
36
37 super + {_,shift + }{h,j,k,l}
38 bspc window -{f,s} {left,down,up,right}
39
40 super + {_,shift + }c
41 bspc window -f {next,prev}
42
43 super + {comma,period}
44 bspc desktop -C {backward,forward}
45
46 super + bracket{left,right}
47 bspc desktop -f {prev,next}
48
49 super + ctrl + {h,j,k,l}
50 bspc window -p {left,down,up,right}
51
52 super + ctrl + {_,shift + }space
53 bspc {window -p cancel,desktop -c}
54
55 super + alt + {h,j,k,l}
56 bspc window -e {left -10,down +10,up -10,right +10}
57
58 super + alt + shift + {h,j,k,l}
59 bspc window -e {right -10,up +10,down -10,left +10}
60
61 super + ctrl + {1-9}
62 bspc window -r 0.{1-9}
63
64 super + {_,shift + }{1-9,0}
65 bspc {desktop -f,window -d} ^{1-9,10}
66
67 ~button1
68 bspc pointer -g focus
69
70 super + button{1-3}
71 bspc pointer -g {move,resize_side,resize_corner}
72
73 super + !button{1-3}
74 bspc pointer -t %i %i
75
76 super + @button{1-3}
77 bspc pointer -u
78
79 #
80 # wm independent hotkeys
81 #
82
83 super + Return
84 urxvt
85
86 super + space
87 dmenu_run -fn "Source Code Pro for Powerline:bold:pixelsize=10" -h 28 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb
88
89 super + x
90 slimlock
91
92 # make sxhkd reload its configuration files:
93 super + Escape
94 pkill -USR1 -x sxhkd
95
96 XF86MonBrightnessDown
97 xbacklight -dec 10
98
99 XF86MonBrightnessUp
100 xbacklight -inc 10
101
102 XF86KbdBrightnessDown
103 kbdlight down
104
105 XF86KbdBrightnessUp
106 kbdlight up
107
108 XF86AudioRaiseVolume
109 pulseaudio-ctl up
110
111 XF86AudioLowerVolume
112 pulseaudio-ctl down
113
114 XF86AudioMute
115 pulseaudio-ctl mute
116
117 XF86AudioPlay
118 mpc toggle
119
120 XF86AudioPrev
121 mpc prev
122
123 XF86AudioNext
124 mpc next
125
126 #XF86AudioRaiseVolume
127 # pamixer --increase 5;\
128 # pamixer --get-volume > /tmp/volinfo
129
130 #XF86AudioLowerVolume
131 # pamixer --decrease 5;\
132 # pamixer --get-volume > /tmp/volinfo
133
134 #XF86AudioMute
135 # pamixer --toggle-mute;\
136 # if $(pamixer --get-mute) ; then;\
137 # echo ⮝ > /tmp/spkicon;\
138 # else;\
139 # echo ⮟ > /tmp/spkicon;\
140 # fi