os/arch (sxhkdrc): retab + add Print and Pause bindings

This commit is contained in:
Henrik Lissner 2016-12-24 16:03:15 -05:00
parent 228e55e47d
commit 055b2df8dc

View file

@ -28,23 +28,27 @@ super + Escape
# Media keys # Media keys
# #
Pause
mpc -q toggle
super + Pause
zzz
Print
maim --opengl -s ~/shared/screenshots/$(date +%F-%T).png
super + Print
maim --opengl --showcursor ~/shared/screenshots/$(date +%F-%T).png
#
XF86Audio{Play,Pause} XF86Audio{Play,Pause}
mpc -q toggle mpc -q toggle
XF86Audio{Prev,Next} XF86Audio{Prev,Next}
mpc -q {prev,next} mpc -q {prev,next}
XF86Audio{LowerVolume,RaiseVolume} XF86Audio{LowerVolume,RaiseVolume}
vol {-,+} vol {-,+}
XF86AudioMute XF86AudioMute
vol toggle vol toggle
super + XF86Eject super + XF86Eject
zzz zzz
#XF86MonBrightness{Up,Down}
# #
# bspwm hotkeys # bspwm hotkeys
@ -100,19 +104,28 @@ 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 / rotate / balance / equalize
super + {_,shift +,ctrl +,alt +} Tab
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}
bspc wm -h off; \ bspc wm -h off; \
bspc node {older,newer} -f; \ bspc node {older,newer} -f; \
bspc wm -h on bspc wm -h on
# focus or send to the given desktop # focus monitor or send to the given desktop
super + {_,shift + }{1-9,0} super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}' bspc {monitor -f,node -m} '^{1-9,10}'
# Cycle desktops
super + {_,shift +} Tab
bspc desktop -f {next,prev}
super + ctrl + {_,shift +} Tab
bspc node -d {next,prev}
#
# focus the last node/desktop / rotate / balance / equalize
super + {shift +,ctrl +,alt +} Tab
bspc node {@/ {-R 90,-B,-E}}
# #
# preselect # preselect
@ -134,10 +147,6 @@ super + ctrl + space
super + ctrl + shift + space super + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
# 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 -20,@south -r +20,@north -r -20,@east -r +20} bspc node {@west -r -20,@south -r +20,@north -r -20,@east -r +20}