Files
dotfiles/sxhkd/sxhkdrc

112 lines
2.1 KiB
Plaintext

###############
# bspwm hotkeys
###############
# restart bspwm
super + alt + Escape
bspc quit
# close window
alt + w
bspc node -c
# switch window state to floating or fullscreen
super + {s,f}
bspc node -t {'~floating','~fullscreen'}
# switch window state to tiling or monocle
super + m
bspc desktop -l next
# send active window to preselect
alt + y
bspc node -n last.!automatic
# move active window
alt + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# rotate window position
super + {comma,period}
bspc desktop -C {backward,forward}
# Mirror and flip leaves of tree
alt + {comma,period}
bspc node @/ -F {horizontal,vertical}
# Rotate leaves of tree
alt + shift + {period,comma}
bspc node @/ -R {90,270}
# switch workspace on desktop
alt + bracket{left,right}
bspc desktop -f {prev,next}
# preselection
alt + ctrl + {h,j,k,l}
bspc node -p {'~west','~south','~north','~east'}
# expand a window by moving one of its side outward
super + {h,j,k,l}
bspc node {@west -r -10,@south -r +10,@north -r -10,@east -r +10}
# contract a window by moving one of its side inward
super + shift + {h,j,k,l}
bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
# send active window to desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} ^{1-9,10}
########################
# wm independent hotkeys
########################
# urxvt terminal
alt + Return
urxvtc
# application launcher
super + space
dmenu_run -fn "-misc-tamlin-medium-r-normal--16-116-100-100-c-80-iso10646-1" -nb "#000000" -sb "#517ba2"
# mpd next track
alt + shift + n
mpc next
# mpd previous track
alt + shift + p
mpc prev
# play / pause mpd
alt + shift + s
mpc toggle
# file manager
alt + BackSpace
urxvtc -e ranger
# web browser
alt + shift + b
opera
# steam
alt + shift + x
steam
# lock screen
ctrl + super + l
dm-tool switch-to-greeter
# blank monitors
ctrl + super + m
blankmonitor
# put rocket legue over both monitors
alt + c
xdotool search --name "Rocket League" windowactivate windowmove 0 0
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd