[provisioning] Improve bspwm configuration

This commit is contained in:
Correl Roush 2018-08-15 21:33:42 -04:00
parent 010afcef3a
commit c329be35af
2 changed files with 11 additions and 4 deletions

View file

@ -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

View file

@ -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}