diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index d6f7964..a9af5df 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -1,6 +1,8 @@ #! /bin/sh -sxhkd & +pgrep -x sxhkd >/dev/null \ + && pkill -x -SIGUSR1 sxhkd \ + || sxhkd & bspc monitor -d I II III IV V VI VII VIII IX @@ -9,9 +11,10 @@ bspc config window_gap 12 bspc config bottom_padding 30 bspc config split_ratio 0.52 -bspc config borderless_monocle true -bspc config gapless_monocle true +bspc config borderless_monocle false +bspc config gapless_monocle false +bspc rule -r '*' bspc rule -a Gimp desktop='^8' state=floating follow=on bspc rule -a Chromium desktop='^2' bspc rule -a mplayer2 state=floating diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 0197fbf..8d5107a 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -1,5 +1,5 @@ {alt,shift + alt} + {j,k} - bspc node {-f,-n} {next,prev} + bspc node {-f,-n} {next,prev}.active alt + Return bspc node -n biggest shift + alt + Return @@ -8,6 +8,10 @@ shift + alt + Return state={fullscreen,floating}; \ bspc query -N -n "focused.$\{state\}" && state=tiled; \ bspc node -t "$state" +shift + alt + space + bspc desktop -l next +shift + ctrl + r + ~/.config/bspwm/bspwmrc {alt,shift + alt} + {w,e} bspc monitor {-f,-m} {west,east} {alt,shift + alt} + {1-9}