From 978446e5cb1709b3166f6a25ed97ca831ed7827b Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 5 Feb 2016 16:23:42 +0300 Subject: [PATCH] initial bspwm/sxhkdrc config --- bspwmrc | 20 +++++++++++ sxhkdrc | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+) create mode 100755 bspwmrc create mode 100644 sxhkdrc diff --git a/bspwmrc b/bspwmrc new file mode 100755 index 0000000..779671a --- /dev/null +++ b/bspwmrc @@ -0,0 +1,20 @@ +#! /bin/sh + +bspc config border_width 2 +bspc config window_gap 2 + +bspc config split_ratio 0.50 +bspc config borderless_monocle true +bspc config gapless_monocle true +bspc config focus_by_distance true +bspc config focus_follows_pointer true +bspc config pointer_follows_monitor true + +bspc monitor HDMI1 -d 1 2 3 +bspc monitor VGA1 -d q w e + +#bspc rule -a Gimp desktop=^8 follow=on floating=on +#bspc rule -a Chromium desktop=^2 +#bspc rule -a mplayer2 floating=on +#bspc rule -a Kupfer.py focus=on +#bspc rule -a Screenkey manage=off diff --git a/sxhkdrc b/sxhkdrc new file mode 100644 index 0000000..fa239b3 --- /dev/null +++ b/sxhkdrc @@ -0,0 +1,106 @@ +# +# bspwm hotkeys +# + +super + alt + Escape + bspc quit + +super + shift + c + bspc window -c + +super + t + bspc desktop -l next + +super + b + bspc desktop -B + +super + {s,f} + bspc window -t {floating,fullscreen} + +super + {o,Tab} + bspc {monitor,window} -f next + +super + shift + {o,Tab} + bspc {monitor,window} -f prev + +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 + {j,l} + bspc window -e {down,right} +32 + +super + alt + {k,h} + bspc window -e {down,right} -32 + +#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} + +super + {_,shift + }{1-3} + bspc {desktop -f,window -d} ^{1-3} + +super + {_,shift + }{q,w,e} + bspc {desktop -f,window -d} ^{4,5,6} + +~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 + x + urxvt + +super + r + gmrun + +# make sxhkd reload its configuration files: +super + Escape + pkill -USR1 -x sxhkd