Updated bspwm key bindings

This commit is contained in:
Deon Spengler
2016-08-24 09:36:50 +02:00
parent a360392e3b
commit 7ccf62193e

View File

@@ -8,41 +8,23 @@ super + alt + Escape
# close window # close window
alt + w alt + w
bspc window -c bspc node -c
# balance all windows on selected desktop
super + b
bspc desktop -B
# switch window state to floating or fullscreen # switch window state to floating or fullscreen
super + {s,f} super + {s,f}
bspc window -t {floating,fullscreen} bspc node -t {'~floating','~fullscreen'}
# switch window state to tiling or monocle # switch window state to tiling or monocle
super + t super + m
bspc desktop -l next bspc desktop -l next
# sticky windows
super + e
bspc window -t sticky
# hide all windows on all desktops
super + z
bspc control --toggle-visibility
# move back and forward through focus history
super + {o,i}
bspc control --record-history off; \
bspc window {older,newer} -f; \
bspc control --record-history on
# send active window to preselect # send active window to preselect
alt + y alt + y
bspc window -w last.manual bspc node -n last.!automatic
# move active window # move active window
alt + {_,shift + }{h,j,k,l} alt + {_,shift + }{h,j,k,l}
bspc window -{f,s} {left,down,up,right} bspc node -{f,s} {west,south,north,east}
# rotate window position # rotate window position
super + {comma,period} super + {comma,period}
@@ -50,30 +32,31 @@ super + {comma,period}
# Mirror and flip leaves of tree # Mirror and flip leaves of tree
alt + {comma,period} alt + {comma,period}
bspc desktop -F {horizontal,vertical} bspc node @/ -F {horizontal,vertical}
# Rotate leaves of tree # Rotate leaves of tree
alt + shift + {comma,period} alt + shift + {period,comma}
bspc desktop -R {90,270} bspc node @/ -R {90,270}
# switch workspace on desktop # switch workspace on desktop
super + bracket{left,right} alt + bracket{left,right}
bspc desktop -f {prev,next} bspc desktop -f {prev,next}
# preselection # preselection
alt + ctrl + {h,j,k,l} alt + ctrl + {h,j,k,l}
bspc window -p {left,down,up,right} bspc node -p {'~west','~south','~north','~east'}
# resize window # expand a window by moving one of its side outward
super + alt + {h,j,k,l} super + {h,j,k,l}
bspc window -e {left -10,down +10,up -10,right +10} bspc node {@west -r -10,@south -r +10,@north -r -10,@east -r +10}
super + alt + shift + {h,j,k,l} # contract a window by moving one of its side inward
bspc window -e {right -10,up +10,down -10,left +10} 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 # send active window to desktop
super + {_,shift + }{1-9,0} super + {_,shift + }{1-9,0}
bspc {desktop -f,window -d} ^{1-9,10} bspc {desktop -f,node -d} ^{1-9,10}
# focus window on left click # focus window on left click
~button1 ~button1
@@ -114,7 +97,7 @@ alt + shift + s
mpc toggle mpc toggle
# file manager # file manager
alt + shift + f alt + BackSpace
urxvtc -e ranger urxvtc -e ranger
# web browser # web browser
@@ -126,13 +109,13 @@ alt + shift + x
steam steam
# lock screen # lock screen
super + l ctrl + super + l
lock
# switch user
super + shift + l
dm-tool switch-to-greeter dm-tool switch-to-greeter
# blank monitors
ctrl + super + m
blankmonitor
# make sxhkd reload its configuration files: # make sxhkd reload its configuration files:
super + Escape super + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd