Update sxhkdrc

This commit is contained in:
Henrik Lissner 2016-10-22 14:06:42 +02:00
parent 967e168f5d
commit ef467186e6

View file

@ -8,9 +8,9 @@ super + Return
# scratchpad # scratchpad
super + grave super + grave
xdotool search --onlyvisible --classname scratchpad windowunmap \ xdotool search --onlyvisible --class scratchpad windowunmap \
|| xdotool search --classname scratchpad windowmap \ || xdotool search --class scratchpad windowmap \
|| termite --name scratchpad --class scratchpad --geometry 400x120 || termite --class=scratchpad
# program launcher # program launcher
super + space super + space
@ -29,13 +29,9 @@ super + alt + Escape
bspc quit bspc quit
# close and kill # close and kill
super + {_,shift + }w super + {_,shift + }q
bspc node -{c,k} bspc node -{c,k}
# alternate between the tiled and monocle layout
super + m
bspc desktop -l next
# if the current node is automatic, send it to the last manual, otherwise pull the last leaf # if the current node is automatic, send it to the last manual, otherwise pull the last leaf
super + y super + y
bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
@ -48,9 +44,8 @@ super + g
# state/flags # state/flags
# #
# set the window state super + {f,shift + f}
super + {t,shift + t,s,f} bspc {desktop -l next,node -t \~floating}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags # set the node flags
super + ctrl + {x,y,z} super + ctrl + {x,y,z}
@ -60,7 +55,7 @@ super + ctrl + {x,y,z}
# focus/swap # focus/swap
# #
# focus the node in the given direction # focus/swap the node in the given direction
super + {_,shift + }{h,j,k,l} super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east} bspc node -{f,s} {west,south,north,east}
@ -76,9 +71,9 @@ super + {_,shift + }c
super + bracket{left,right} super + bracket{left,right}
bspc desktop -f {prev,next} bspc desktop -f {prev,next}
# focus the last node/desktop # focus the last node/desktop / rotate / balance / equalize
super + Tab super + {_,shift +,ctrl +,alt +} Tab
bspc node -f last bspc node {-f last,@/ {-R 90,-B,-E}}
# focus the older or newer node in the focus history # focus the older or newer node in the focus history
super + {o,i} super + {o,i}
@ -114,6 +109,10 @@ super + ctrl + shift + space
# resize tiled/floating # resize tiled/floating
# #
# Rebalance windows
# super + plus
# bspc node @focused:/ -B
# expand the tiled space in the given direction # expand the tiled space in the given direction
super + alt + {h,j,k,l} super + alt + {h,j,k,l}
bspc node {@west -r -10,@south -r +10,@north -r -10,@east -r +10} bspc node {@west -r -10,@south -r +10,@north -r -10,@east -r +10}
@ -147,13 +146,7 @@ super + @button{1-3}
# #
super + shift + {Down,Up} super + shift + {Down,Up}
amixer set Master 5%{-,+}; \ volume.sh {-,+}
echo "V$(amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p' | uniq)" > /tmp/panel-fifo
super + ctrl + shift + Up super + ctrl + shift + {Down,Up}
amixer set Master unmute; \ volume.sh {mute,unmute}
echo "V$(amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p' | uniq)" > /tmp/panel-fifo
super + ctrl + shift + Down
amixer set Master mute; \
echo "V0" > /tmp/panel-fifo