[emacs] remove previous [experimental] emacs config
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
CommitLineData
3aeeb20d 1#
7791c200 2# wm independent hotkeys
3aeeb20d
AB
3#
4
7791c200 5# terminal emulator
855ca243 6super + {_,shift} + Return
56fe4497
AB
7 urxvt{_, -name tiled}
8
9#super + {_,shift} + Return
10# termite{_, --name=tiled}
3aeeb20d 11
7791c200
AB
12# program launcher
13super + space
c9609c95 14 rofi -show run -display-run '> ' -display-window ' 🗔 '
3aeeb20d 15
1a2c9c24
AB
16super + alt + space
17 xfce4-popup-whiskermenu
18
855ca243
AB
19# window finder
20super + backslash
c9609c95 21 rofi -show window -display-run '> ' -display-window ' 🗔 '
855ca243
AB
22
23# password manager
149b29f1 24alt + space
23a1f61a
AB
25 rofi-pass
26
7791c200
AB
27# firefox
28#super + r
29# firefox
3aeeb20d 30
7791c200
AB
31# chromium
32#super + c
855ca243 33# chromium -incognito
3aeeb20d 34
7791c200
AB
35# emacs
36super + e
37 emacs
3aeeb20d 38
855ca243
AB
39# make sxhkd reload its configuration files:
40super + Escape
41 pkill -USR1 -x sxhkd
3aeeb20d 42
855ca243
AB
43# volume {up,down}
44XF86Audio{Raise,Lower}Volume
45 pamixer --allow-boost --{in,de}crease 5
3aeeb20d 46
7791c200
AB
47# mute
48XF86AudioMute
49 pamixer --toggle-mute
896820db 50
5633cf03
AB
51# playback control
52XF86Audio{Play,Prev,Next}
53 mpc {toggle,prev,next}
54
1a2c9c24 55# lock the screen
855ca243 56super + shift + q
1a2c9c24 57 light-locker-command -l
855ca243
AB
58
59# Toggle keyboard layout
4372f047 60super + F7
855ca243
AB
61 toggle-layout
62
63# Toggle Xfce presentation mode
64XF86LaunchB
65 toggle-presentation-mode
66
7791c200 67# monitor brightness
149b29f1
AB
68XF86MonBrightness{Up,Down}
69 light -{A,U} 5
3aeeb20d 70
7372a4ea
AB
71super + apostrophe
72 rofi-light
73
7791c200
AB
74# keyboard brightness
75#XF86KbdBrightness{Up,Down}
76# kbdlight {up,down}
3aeeb20d 77
7791c200
AB
78#
79# bspwm hotkeys
80#
3aeeb20d 81
7791c200
AB
82# quit bspwm normally
83super + alt + Escape
84 bspc quit
3aeeb20d 85
7791c200
AB
86# close and kill
87super + {w,q}
88 bspc node -{c,k}
3aeeb20d 89
7791c200
AB
90# alternate between the tiled and monocle layout
91super + m
92 bspc desktop -l next
3aeeb20d 93
149b29f1 94# send the newest marked node to the newest preselected node
7791c200 95super + y
149b29f1 96 bspc node newest.marked.local -n newest.!automatic.local
3aeeb20d 97
7791c200
AB
98# swap the current node and the biggest node
99super + g
100 bspc node -s biggest
3aeeb20d
AB
101
102#
7791c200 103# state/flags
3aeeb20d
AB
104#
105
7791c200
AB
106# set the window state
107super + {t,shift + t,s,f}
108 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
3aeeb20d 109
7791c200 110# set the node flags
149b29f1
AB
111super + ctrl + {m,x,y,z}
112 bspc node -g {marked,locked,sticky,private}
d6e35f6a 113
7791c200
AB
114#
115# focus/swap
116#
5ece0347 117
7791c200
AB
118# focus the node in the given direction
119super + {_,shift + }{h,j,k,l}
120 bspc node -{f,s} {west,south,north,east}
7a226deb 121
7791c200
AB
122# focus the node for the given path jump
123super + {p,b,comma,period}
124 bspc node -f @{parent,brother,first,second}
3aeeb20d 125
855ca243
AB
126# focus the next/previous node in the current desktop
127super + {_,shift + }c
128 bspc node -f {next,prev}.local
3aeeb20d 129
855ca243 130# focus the next/previous desktop in the current monitor
7791c200 131super + bracket{left,right}
855ca243 132 bspc desktop -f {prev,next}.local
3aeeb20d 133
7791c200
AB
134# send to next/prev desktop
135super + shift + bracket{left,right}
149b29f1 136 bspc node -d {prev,next} --follow
3aeeb20d 137
7791c200
AB
138# focus the last node/desktop
139super + {grave,Tab}
140 bspc {node,desktop} -f last
3aeeb20d 141
7791c200
AB
142# focus the older or newer node in the focus history
143super + {o,i}
144 bspc wm -h off; \
145 bspc node {older,newer} -f; \
146 bspc wm -h on
78856df8 147
7791c200
AB
148# focus or send to the given desktop
149super + {_,shift + }{1-9,0}
150 bspc {desktop -f,node -d} '^{1-9,10}'
78856df8 151
7791c200
AB
152#
153# preselect
154#
78856df8 155
7791c200
AB
156# preselect the direction
157super + ctrl + {h,j,k,l}
158 bspc node -p {west,south,north,east}
a341f8e4 159
7791c200
AB
160# preselect the ratio
161super + ctrl + {1-9}
162 bspc node -o 0.{1-9}
a341f8e4 163
7791c200
AB
164# cancel the preselection for the focused node
165super + ctrl + space
166 bspc node -p cancel
a341f8e4 167
7791c200
AB
168# cancel the preselection for the focused desktop
169super + ctrl + shift + space
170 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
8c17e1b6 171
7791c200
AB
172#
173# move/resize
174#
8c17e1b6 175
7791c200
AB
176# expand a window by moving one of its side outward
177super + alt + {h,j,k,l}
178 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
ed5099ff 179
7791c200
AB
180# contract a window by moving one of its side inward
181super + alt + shift + {h,j,k,l}
182 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
a8a12804 183
7791c200
AB
184# move a floating window
185super + {Left,Down,Up,Right}
186 bspc node -v {-20 0,0 20,0 -20,20 0}
56fe4497
AB
187
188#alt + bracket{left,right}
189# xdotool key --clearmodifiers ctrl+Page_{Up,Down}