use Source Code Pro for dmenu
[~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 31 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb
88
89 # make sxhkd reload its configuration files:
90 super + Escape
91 pkill -USR1 -x sxhkd
92
93 XF86MonBrightnessDown
94 xbacklight -dec 10
95
96 XF86MonBrightnessUp
97 xbacklight -inc 10
98
99 XF86KbdBrightnessDown
100 kbdlight down
101
102 XF86KbdBrightnessUp
103 kbdlight up
104
105 #XF86AudioRaiseVolume
106 # pamixer --increase 5;\
107 # pamixer --get-volume > /tmp/volinfo
108
109 #XF86AudioLowerVolume
110 # pamixer --decrease 5;\
111 # pamixer --get-volume > /tmp/volinfo
112
113 #XF86AudioMute
114 # pamixer --toggle-mute;\
115 # if $(pamixer --get-mute) ; then;\
116 # echo ⮝ > /tmp/spkicon;\
117 # else;\
118 # echo ⮟ > /tmp/spkicon;\
119 # fi