diff options
author | David Robillard <d@drobilla.net> | 2015-10-18 16:52:36 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-18 16:52:36 -0400 |
commit | 9c82d0f03e169b2e97de536ad175d485b8640cc5 (patch) | |
tree | 63a5f0645a7ae99d80831a4143b3c8dcba343581 /sxhkd | |
parent | e18e870865892d6b3c556bdde69a68b7c190941a (diff) | |
download | dotfiles-9c82d0f03e169b2e97de536ad175d485b8640cc5.tar.gz dotfiles-9c82d0f03e169b2e97de536ad175d485b8640cc5.tar.bz2 dotfiles-9c82d0f03e169b2e97de536ad175d485b8640cc5.zip |
Add BSPWM configuration
Diffstat (limited to 'sxhkd')
-rw-r--r-- | sxhkd/sxhkdrc | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc new file mode 100644 index 0000000..70d8842 --- /dev/null +++ b/sxhkd/sxhkdrc @@ -0,0 +1,133 @@ +# +# bspwm hotkeys +# + +super + p + bspc config top_padding 26; \ + xdotool search --classname Conky windowmap; \ + xdotool search --classname stalonetray windowmap; \ + xdotool search --classname stalonetray windowraise + +super + shift + p + xdotool search --classname stalonetray windowunmap; \ + xdotool search --classname Conky windowunmap; \ + bspc config top_padding 0 + +super + alt + Escape + bspc quit + +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 + Tab + bspc window -f last + +super + Prior + bspc window -f prev + +super + Next + bspc window -f next + +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 + }{Left,Down,Up,Right} + 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 + {Left,Down,Up,Right} + bspc window -p {left,down,up,right} + +super + ctrl + {_,shift + }space + bspc {window -p cancel,desktop -c} + +super + alt + {Left,Down,Up,Right} + bspc window -e {left -10,down +10,up -10,right +10} + +super + alt + shift + {Left,Down,Up,Right} + 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 -t %i %i + +super + @button{1-3} + bspc pointer -u + +# +# wm independent hotkeys +# + +super + Return + gnome-terminal + +super + space + dmenu_run + +# make sxhkd reload its configuration files: +super + Escape + pkill -USR1 -x sxhkd + +# +# multimedia keys +# + +XF86MonBrightnessDown + xbacklight -dec 15 + +XF86MonBrightnessUp + xbacklight -inc 15 + +XF86KbdBrightnessDown + /home/drobilla/bin/kbdled.sh down + +XF86KbdBrightnessUp + /home/drobilla/bin/kbdled.sh up + +XF86AudioRaiseVolume + amixer sset Master 5%+ + +XF86AudioLowerVolume + amixer sset Master 5%- + +XF86AudioMute + amixer set Master toggle |