mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
[provisioning] Improve bspwm configuration
This commit is contained in:
parent
010afcef3a
commit
c329be35af
2 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue