summaryrefslogtreecommitdiffstats
path: root/.config/sxhkd/sxhkdrc
blob: a987f16b2ebe7724995ef5bd9e42b2a2febd73f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
super + Return
	/usr/local/bin/st

super + p
	/usr/local/bin/dmenu_run -i -m 0

super + control + r
	/bin/pkill -USR1 -x sxhkd

super + shift + {e,r}
	/usr/local/bin/bspc {quit,wm -r}

super + {_,shift + }q
	/usr/local/bin/bspc node -{c,k}

super + m
	/usr/local/bin/bspc desktop -l next

super + y
	/usr/local/bin/bspc node newest.marked.local -n newest.!automatic.local

super + g
	/usr/local/bin/bspc node -s biggest

super + {s,shift + s,space,f}
	/usr/local/bin/bspc node -t {tiled,pseudo_tiled,floating,fullscreen}

super + ctrl + {m,x,y,z}
	/usr/local/bin/bspc node -g {marked,locked,sticky,private}

super + {_,shift + }{h,j,k,l}
	/usr/local/bin/bspc node -{f,s} {west,south,north,east}

super + { ,b,comma,period}
	/usr/local/bin/bspc node -f @{parent,brother,first,second}

super + {_,shift + }c
	/usr/local/bin/bspc node -f {next,prev}.local

super + bracket{left,right}
	/usr/local/bin/bspc desktop -f {prev,next}.local

alt + {grave,Tab}
	/usr/local/bin/bspc {node,desktop} -f last

super + {o,i}
	/usr/local/bin/bspc wm -h off; \
	/usr/local/bin/bspc node {older,newer} -f; \
	/usr/local/bin/bspc wm -h on

super + {_,shift + }{F1}
	/usr/local/bin/bspc {desktop -f,node -d} 01
super + {_,shift + }{F2}
	/usr/local/bin/bspc {desktop -f,node -d} 02
super + {_,shift + }{F3}
	/usr/local/bin/bspc {desktop -f,node -d} 03
super + {_,shift + }{F4}
	/usr/local/bin/bspc {desktop -f,node -d} 04
super + {_,shift + }{F5}
	/usr/local/bin/bspc {desktop -f,node -d} 05
super + {_,shift + }{F6}
	/usr/local/bin/bspc {desktop -f,node -d} 06
super + {_,shift + }{F7}
	/usr/local/bin/bspc {desktop -f,node -d} 07
super + {_,shift + }{F8}
	/usr/local/bin/bspc {desktop -f,node -d} 08
super + {_,shift + }{F9}
	/usr/local/bin/bspc {desktop -f,node -d} 09
super + {_,shift + }{F10}
	/usr/local/bin/bspc {desktop -f,node -d} 10
super + {_,shift + }{F11}
	/usr/local/bin/bspc {desktop -f,node -d} 11
super + {_,shift + }{F12}
	/usr/local/bin/bspc {desktop -f,node -d} 12

#super + KP_{0-9,Divide,Multiply,Subtract,Add,Decimal,Enter,Separator,BackSpace}
#    notify-send {0-9,Divide,Multiply,Subtract,Add,Decimal,Enter,Separator,BackSpace}

#super + {Num_Lock,@Print,Insert,Home,Prior,Delete,End,Next,Scroll_Lock,Pause}
#    notify-send {Num_Lock,Print,Insert,Home,Prior,Delete,End,Next,Scroll_Lock,Pause}

super + KP_Insert
	/usr/local/bin/bsp-layout remove && \
	/usr/local/bin/notify-send -u low normal

super + KP_Left
	/usr/local/bin/bsp-layout set tall && \
	/usr/local/bin/notify-send -u low tall

super + KP_Begin
	/usr/local/bin/bsp-layout set even && \
	/usr/local/bin/notify-send -u low even

super + KP_Right
	/usr/local/bin/bsp-layout set rtall && \
	/usr/local/bin/notify-send -u low rtall

super + KP_Up
	/usr/local/bin/bsp-layout set wide && \
	/usr/local/bin/notify-send -u low wide

super + KP_Down
	/usr/local/bin/bsp-layout set rwide && \
	/usr/local/bin/notify-send -u low rwide

super + ctrl + {h,j,k,l}
	/usr/local/bin/bspc node -p {west,south,north,east}

super + ctrl + {1-9}
	/usr/local/bin/bspc node -o 0.{1-9}

super + ctrl + {space,Escape}
	/usr/local/bin/bspc node -p cancel

super + ctrl + shift + space
	/usr/local/bin/bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel

ctrl + alt + {Left,Down,Up,Right}
	/usr/local/bin/bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}

super + ctrl + {Left,Down,Up,Right}
	/usr/local/bin/bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}

super + {Left,Down,Up,Right}
	/usr/local/bin/bspc node -v {-20 0,0 20,0 -20,20 0}

super + 1
	/usr/local/bin/st -e /usr/local/bin/vifm

super + 2
	/usr/local/bin/st -e /usr/local/bin/nvim

super + 3
	/usr/local/bin/firefox --kiosk https://start.duckduckgo.com/

super + 4
	/usr/local/bin/st -e /usr/local/bin/w3m https://start.duckduckgo.com/

super + BackSpace
	/usr/home/jozan/.local/bin/dmpc >/dev/null 2>&1

{XF86AudioRaiseVolume}
	/usr/home/jozan/.local/bin/mixer-set raise >/dev/null 2>&1

{XF86AudioLowerVolume}
	/usr/home/jozan/.local/bin/mixer-set lower >/dev/null 2>&1

{XF86AudioMute}
	/usr/home/jozan/.local/bin/mixer-set toggle >/dev/null 2>&1

{XF86MonBrightnessUp}
	/usr/local/bin/xbacklight -inc 4

{XF86MonBrightnessDown}
	/usr/local/bin/xbacklight -dec 4

{XF86Sleep}
	/usr/home/jozan/.local/bin/gotosleep