dot/.config/sxhkd/sxhkdrc

111 lines
1.8 KiB
Plaintext
Executable File

# bspwm hotkeys
# copy in ~/.config/sxhkd/sxhkdrc
super + alt + Escape
killall panel && /usr/bin/bspc quit
super + t
bspc node -l above
super + y
bspc node -l below
super + b
bspc node -B
super + {s,f}
state={floating,fullscreen}; \
bspc query -N -n "focused.$\{state\}" && state=tiled; \
bspc node -t "$state"
super + l
bspc desktop -l next
# Focus The Next/Previous Node
super + {_,shift + }c
bspc node -f {next,prev}
# Focus The Next/Previous Desktop
super + bracket{left,right}
bspc desktop -f {prev,next}
#
super + {grave,Tab}
bspc {node,desktop} -f last
#
# Focus/Swap
#
# Focus The Node In The Given Direction
super + {_,shift + }{Left,Down,Up,Right}
bspc node -{f,s} {west,south,north,east}
super + {comma,period}
bspc node -C {backward,forward}
#
# Preselect
#
# Preselect The Direction
ctrl + super + {Left,Down,Up,Right}
bspc node -p {west,south,north,east}
# Cancel Selection For The Focused Node
super + ctrl + space
bspc node -p cancel
super + ctrl + {1-5}
/usr/bin/bspc window -r 0.{1-5}
# focus The Older Or Newer Node In The Focus History
super + {o,i}
bspc wm -h off; \
bspc node {older,newer} -f; \
bspc wm -h on
# Focus or Send to the given desktop
super + {_,shift + }{1,2,3,4,5}
bspc {desktop -f,node -d} '^{1-5}'
super + shift + x
bspc node -d "x"
super + x
bspc desktop -f "x"
# Focus
~button1
bspc pointer -g focus
# Start move/resize
#super + button{1-3}
# ; bspc pointer -g {move,resize_side,resize_corner}
# End Move/Risize
#super + @button{1-3}
# bspc pointer -u
super + shift + w
bspc node -c
#
# wm independent hotkeys
#
# Terminal Emulator
super + Return
urxvt
# Program Launcher
super + r
rofi -show run
# Reload Funtions
super + Escape
pkill -USR1 -x sxhkd
# Custom action
alt + shift + d
mpc del 0
Print
imgur-screenshot