0669cfa59704546a5bf29d13a90444f8a03e6859
[~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 + {p,s,f}
18 state={pseudo_tiled,floating,fullscreen}; \
19 bspc query -W -w "focused.$\{state\}" && state=tiled; \
20 bspc window -t "$state"
21
22 super + {grave,Tab}
23 bspc {window,desktop} -f last
24
25 super + apostrophe
26 bspc window -s last
27
28 super + {o,i}
29 bspc control --record-history off; \
30 bspc window {older,newer} -f; \
31 bspc control --record-history on
32
33 super + y
34 bspc window -w last.manual
35
36 super + m
37 bspc window -s biggest
38
39 super + {_,shift + }{h,j,k,l}
40 bspc window -{f,s} {left,down,up,right}
41
42 super + {_,shift + }slash
43 bspc window -f {next,prev}
44
45 super + {comma,period}
46 bspc desktop -C {backward,forward}
47
48 super + bracket{left,right}
49 bspc desktop -f {prev,next}
50
51 super + shift + bracket{left,right}
52 bspc window -d {prev,next}
53
54 super + ctrl + {h,j,k,l}
55 bspc window -p {left,down,up,right}
56
57 super + ctrl + {_,shift + }space
58 bspc {window -p cancel,desktop -c}
59
60 super + alt + {h,j,k,l}
61 bspc window -e {left -10,down +10,up -10,right +10}
62
63 super + alt + shift + {h,j,k,l}
64 bspc window -e {right -10,up +10,down -10,left +10}
65
66 super + ctrl + {1-9}
67 bspc window -r 0.{1-9}
68
69 super + {_,shift + }{1-9,0}
70 bspc {desktop -f,window -d} ^{1-9,10}
71
72 ~button1
73 bspc pointer -g focus
74
75 super + button{1-3}
76 bspc pointer -g {move,resize_side,resize_corner}
77
78 super + !button{1-3}
79 bspc pointer -t %i %i
80
81 super + @button{1-3}
82 bspc pointer -u
83
84 #
85 # wm independent hotkeys
86 #
87
88 super + Return
89 urxvt
90
91 super + space
92 rofi -show run -font "Source Code Pro 11" -fg "#195465" -bg "#0A0F14" -hlfg "#EDB54B" -hlbg "#0A0F14" -o 85
93
94 super + x
95 slimlock
96
97 super + e
98 emacs
99
100 super + r
101 firefox
102
103 super + c
104 chromium
105
106 # make sxhkd reload its configuration files:
107 super + Escape
108 pkill -USR1 -x sxhkd
109
110 #XF86MonBrightnessDown
111 # xbacklight -dec 5
112
113 #XF86MonBrightnessUp
114 # xbacklight -inc 5
115
116 # XF86KbdBrightnessDown
117 #kbdlight down
118
119 # XF86KbdBrightnessUp
120 #kbdlight up
121
122 #XF86AudioRaiseVolume
123 # pulseaudio-ctl up
124
125 #XF86AudioLowerVolume
126 # pulseaudio-ctl down
127
128 #XF86AudioMute
129 # pulseaudio-ctl mute
130
131 XF86AudioPlay
132 mpc toggle
133
134 XF86AudioPrev
135 mpc prev
136
137 XF86AudioNext
138 mpc next
139
140 XF86AudioRaiseVolume
141 pamixer --allow-boost --increase 5
142
143 XF86AudioLowerVolume
144 pamixer --allow-boost --decrease 5
145
146 XF86AudioMute
147 pamixer --toggle-mute
148
149 XF86LaunchA
150 toggle-layout
151
152 XF86LaunchB
153 toggle-mouse