86 lines
1.4 KiB
Plaintext
86 lines
1.4 KiB
Plaintext
# Swy7ch' sxhkd bindings binding
|
|
|
|
# System stuff
|
|
|
|
XF86AudioMute
|
|
pulsemixer --toggle-mute; audio-notify
|
|
|
|
{XF86AudioLowerVolume, XF86AudioRaiseVolume}
|
|
pulsemixer --change-volume {-5, +5}; audio-notify
|
|
|
|
super + {F5, F6}
|
|
sbacklight {dec,inc}
|
|
|
|
super + u
|
|
dmenumount
|
|
|
|
super + shift + u
|
|
dmenuumount
|
|
|
|
super + s
|
|
dmenuprompt "suspend?" "systemctl suspend"
|
|
|
|
super + shift + s
|
|
dmenuprompt "shutdown?" "shutdown -h now"
|
|
|
|
super + shift + r
|
|
dmenuprompt "reboot?" "reboot"
|
|
|
|
super + BackSpace
|
|
slock
|
|
|
|
super + shift + d
|
|
displayselect
|
|
|
|
super + F9
|
|
kbacklight
|
|
|
|
super + shift + o
|
|
dmenuopen
|
|
|
|
super + c
|
|
switch-colors && kill -1 $(pidof dwm)
|
|
|
|
super + alt + c
|
|
switch-colors -s
|
|
|
|
# Others
|
|
super + Return
|
|
$TERMINAL
|
|
|
|
super + shift + Return
|
|
$TERMINAL -g 128x32 -c "floating"
|
|
|
|
super + d
|
|
dmenu_run -p "run:"
|
|
|
|
super + p
|
|
screenshot
|
|
|
|
super + alt + p
|
|
screenshot -w
|
|
|
|
super + shift + {w,z}
|
|
$BROWSER
|
|
|
|
super + shift + p
|
|
$BROWSER --private-window
|
|
|
|
super + shift + {h,j,k,l}
|
|
player {prev,stop,toggle,next}
|
|
|
|
super + shift + m
|
|
$TERMINAL -g 128x32 -c "floating" -e $MUSIC_CLIENT
|
|
|
|
super + shift + n
|
|
$TERMINAL -g 128x32 -c "floating" -e $MAIL_CLIENT
|
|
|
|
super + shift + i
|
|
$TERMINAL -g 128x32 -c "floating" -e tsession "irc" "$IRC_CLIENT"
|
|
|
|
super + shift + t
|
|
$TERMINAL -g 128x32 -c "floating" -e tremc
|
|
|
|
super + shift + b
|
|
script="$(printf "bibinput\nbibshow" | dmenu -i -p "which script?")" && $script
|