142 lines
2.5 KiB
Plaintext
142 lines
2.5 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 node @/ --rotate {90,-90}
|
|
|
|
# Mirror and flip leaves of tree
|
|
alt + {comma,period}
|
|
bspc node @/ -F {horizontal,vertical}
|
|
|
|
# switch workspace on desktop
|
|
alt + bracket{left,right}
|
|
bspc desktop -f {prev,next}
|
|
|
|
# preselection
|
|
super + {h,j,k,l}
|
|
bspc node -p {'~west','~south','~north','~east'}
|
|
|
|
# expand a window by moving one of its side outward
|
|
alt + ctrl + {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
|
|
alt + ctrl + shift + {h,j,k,l}
|
|
bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
|
|
|
|
# select workspace or send active window to workspace
|
|
super + {_,shift + }{q,w,e,r}
|
|
bspc {desktop -f,node -d} ^{1-4}
|
|
|
|
super + {_,shift + }{1-4}
|
|
bspc {desktop -f,node -d} ^{1-4}
|
|
|
|
|
|
########################
|
|
# wm independent hotkeys
|
|
########################
|
|
|
|
# terminal
|
|
alt + Return
|
|
st
|
|
|
|
# application launcher
|
|
alt + r
|
|
rofi -combi-modi drun,ssh -show combi
|
|
|
|
# clipboard manager
|
|
alt + c
|
|
clipmenu -p "clipboard: "
|
|
|
|
alt + shift + c
|
|
clipdel -d "."
|
|
|
|
# unmount all udisk2 managed devices
|
|
alt + u
|
|
udiskie-umount -a
|
|
|
|
# password manager
|
|
alt + p
|
|
rofi-pass
|
|
|
|
# media controls
|
|
alt + {n,b,s}
|
|
mpc --host=slainsmpdserver@shadowblade.lan --port 6600 {next,prev,toggle}
|
|
|
|
XF86Audio{Next,Prev,Play}
|
|
mpc --host=slainsmpdserver@shadowblade.lan --port 6600 {next,prev,toggle}
|
|
|
|
# file manager
|
|
alt + f
|
|
st -e ranger
|
|
|
|
# web browser
|
|
alt + shift + b
|
|
chromium
|
|
|
|
# steam
|
|
alt + shift + x
|
|
steam
|
|
|
|
# v4l2ucp
|
|
alt + shift + w
|
|
v4l2ucp
|
|
|
|
# notification for current song from mpd
|
|
alt + i
|
|
mpdnotify
|
|
|
|
# lock screen
|
|
alt + ctrl + super + l
|
|
dm-tool switch-to-greeter
|
|
|
|
# blank monitors
|
|
ctrl + super + m
|
|
blankmonitor
|
|
|
|
# volume control
|
|
XF86Audio{Raise,Lower}Volume
|
|
pamixer {-i5,-d5}
|
|
|
|
# mute toggle
|
|
XF86AudioMute
|
|
pamixer -t
|
|
|
|
# close notification
|
|
ctrl + space
|
|
dunstctl close
|
|
|
|
# show recent notification
|
|
ctrl + grave
|
|
dunstctl history-pop
|
|
|
|
# make sxhkd reload its configuration files:
|
|
super + Escape
|
|
pkill -USR1 -x sxhkd
|