Add dunst config
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
CommitLineData
3aeeb20d 1#
7791c200 2# wm independent hotkeys
3aeeb20d
AB
3#
4
7791c200
AB
5# terminal emulator
6super + Return
7 urxvt
3aeeb20d 8
7791c200
AB
9# program launcher
10super + space
11 rofi -show run -font "Inconsolata 13"
3aeeb20d 12
7791c200
AB
13super + z ; t
14 urxvt
3aeeb20d 15
7791c200
AB
16super + z ; f
17 firefox-nightly
3aeeb20d 18
7791c200
AB
19# firefox
20#super + r
21# firefox
3aeeb20d 22
7791c200
AB
23# chromium
24#super + c
25# chromium
3aeeb20d 26
7791c200
AB
27# emacs
28super + e
29 emacs
3aeeb20d 30
7791c200
AB
31# stalonetray
32#super + minus
33# toggle_tray&
3aeeb20d 34
7791c200
AB
35# volume up
36XF86AudioRaiseVolume
37 pamixer --allow-boost --increase 5
3aeeb20d 38
7791c200
AB
39# volume down
40XF86AudioLowerVolume
41 pamixer --allow-boost --decrease 5
3aeeb20d 42
7791c200
AB
43# mute
44XF86AudioMute
45 pamixer --toggle-mute
896820db 46
7791c200
AB
47# monitor brightness
48#XF86MonBrightness{Up,Down}
49# xbacklight -time 0 {+5,-5}
3aeeb20d 50
7791c200
AB
51# keyboard brightness
52#XF86KbdBrightness{Up,Down}
53# kbdlight {up,down}
3aeeb20d 54
7791c200
AB
55XF86LaunchA
56 toggle-layout
3aeeb20d 57
7791c200
AB
58# make sxhkd reload its configuration files:
59super + Escape
60 pkill -USR1 -x sxhkd
3aeeb20d 61
7791c200
AB
62#
63# bspwm hotkeys
64#
3aeeb20d 65
7791c200
AB
66# quit bspwm normally
67super + alt + Escape
68 bspc quit
3aeeb20d 69
7791c200
AB
70# close and kill
71super + {w,q}
72 bspc node -{c,k}
3aeeb20d 73
7791c200
AB
74# alternate between the tiled and monocle layout
75super + m
76 bspc desktop -l next
3aeeb20d 77
7791c200
AB
78# if the current node is automatic, send it to the last manual, otherwise pull the last leaf
79super + y
80 bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
3aeeb20d 81
7791c200
AB
82# swap the current node and the biggest node
83super + g
84 bspc node -s biggest
3aeeb20d
AB
85
86#
7791c200 87# state/flags
3aeeb20d
AB
88#
89
7791c200
AB
90# set the window state
91super + {t,shift + t,s,f}
92 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
3aeeb20d 93
7791c200
AB
94# set the node flags
95super + ctrl + {x,y,z}
96 bspc node -g {locked,sticky,private}
d6e35f6a 97
7791c200
AB
98#
99# focus/swap
100#
5ece0347 101
7791c200
AB
102# focus the node in the given direction
103super + {_,shift + }{h,j,k,l}
104 bspc node -{f,s} {west,south,north,east}
7a226deb 105
7791c200
AB
106# focus the node for the given path jump
107super + {p,b,comma,period}
108 bspc node -f @{parent,brother,first,second}
3aeeb20d 109
7791c200
AB
110# focus the next/previous node
111super + {_,shift + }slash
112 bspc node -f {next,prev}
3aeeb20d 113
7791c200
AB
114# focus the next/previous desktop
115super + bracket{left,right}
116 bspc desktop -f {prev,next}
3aeeb20d 117
7791c200
AB
118# send to next/prev desktop
119super + shift + bracket{left,right}
120 bspc node -d {prev,next}
3aeeb20d 121
7791c200
AB
122# focus the last node/desktop
123super + {grave,Tab}
124 bspc {node,desktop} -f last
3aeeb20d 125
7791c200
AB
126# focus the older or newer node in the focus history
127super + {o,i}
128 bspc wm -h off; \
129 bspc node {older,newer} -f; \
130 bspc wm -h on
78856df8 131
7791c200
AB
132# focus or send to the given desktop
133super + {_,shift + }{1-9,0}
134 bspc {desktop -f,node -d} '^{1-9,10}'
78856df8 135
7791c200
AB
136#
137# preselect
138#
78856df8 139
7791c200
AB
140# preselect the direction
141super + ctrl + {h,j,k,l}
142 bspc node -p {west,south,north,east}
a341f8e4 143
7791c200
AB
144# preselect the ratio
145super + ctrl + {1-9}
146 bspc node -o 0.{1-9}
a341f8e4 147
7791c200
AB
148# cancel the preselection for the focused node
149super + ctrl + space
150 bspc node -p cancel
a341f8e4 151
7791c200
AB
152# cancel the preselection for the focused desktop
153super + ctrl + shift + space
154 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
8c17e1b6 155
7791c200
AB
156#
157# move/resize
158#
8c17e1b6 159
7791c200
AB
160# expand a window by moving one of its side outward
161super + alt + {h,j,k,l}
162 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
ed5099ff 163
7791c200
AB
164# contract a window by moving one of its side inward
165super + alt + shift + {h,j,k,l}
166 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
a8a12804 167
7791c200
AB
168# move a floating window
169super + {Left,Down,Up,Right}
170 bspc node -v {-20 0,0 20,0 -20,20 0}