dotfiles/sxhkdrc
Enrico Fasoli 16d3e93063 big update
2015-08-25 09:42:45 +00:00

114 lines
2.0 KiB
Plaintext
Executable File

#
# bspwm hotkeys
#
super + alt + Escape
for id in $(bspc query -W); do bspc window $id -c; done; \
bspc quit && shutdown
super + w
bspc window -c
super + t
bspc desktop -l next
super + b
bspc desktop -B
super + {s,f}
bspc window -t {floating,fullscreen}
super + {grave,Tab}
bspc {window,desktop} -f last
super + apostrophe
bspc window -s last
super + {o,i}
bspc control --record-history off; \
bspc window {older,newer} -f; \
bspc control --record-history on
super + y
bspc window -w last.manual
super + m
bspc window -s biggest
super + {_,shift + }{h,j,k,l}
bspc window -{f,s} {left,down,up,right}
super + {_,shift + }c
bspc window -f {next,prev}
super + {comma,period}
bspc desktop -C {backward,forward}
super + bracket{left,right}
bspc desktop -f {prev,next}
super + ctrl + {h,j,k,l}
bspc window -p {left,down,up,right}
super + ctrl + {_,shift + }space
bspc {window -p cancel,desktop -c}
super + alt + {h,j,k,l}
bspc window -e {left -10,down +10,up -10,right +10}
super + alt + shift + {h,j,k,l}
bspc window -e {right -10,up +10,down -10,left +10}
super + ctrl + {1-9}
bspc window -r 0.{1-9}
super + {_,shift + }{1-9,0}
bspc {desktop -f,window -d} ^{1-9,10}
~button1
bspc pointer -g focus
super + button{1-3}
; bspc pointer -g {move,resize_side,resize_corner}
super + @button{1-3}
bspc pointer -u
#
# wm independent hotkeys
#
super + Return
urxvt
super + space
dmenu_run -fn "-gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1"
# make sxhkd reload its configuration files:
#super + Escape
# pkill -USR1 -x sxhkd
#
# my stuff
#
# volume controls
F9
amixer set Master 3- unmute
F10
amixer set Master 3+ unmute
F11
amixer set Master toggle
# turn screen off
F12
lock; sleep 2; xset dpms force off
alt + F12
lock
# screenshots
Print
scrot "~/Pictures/screenshots/%d-%m-%Y %H:%M:%S.png"
# scrot /tmp/screenshot.png -e 'copyq copy image/png - < $f && rm $f'
# scrot -s /tmp/screenshot.png -e 'copyq copy image/png - < $f && rm $f'