bspwm: polish config+rules
This commit is contained in:
parent
257ac6b2ea
commit
25b871368b
|
@ -1,27 +1,24 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
bspc config border_width 2
|
bspc config border_width 5
|
||||||
bspc config window_gap 14
|
bspc config window_gap 11
|
||||||
bspc config bottom_padding 0
|
bspc config top_padding 22
|
||||||
bspc config left_padding 0
|
# bspc config bottom_padding 0
|
||||||
bspc config right_padding 0
|
# bspc config left_padding 0
|
||||||
running lemonbar || bspc config top_padding 0
|
# bspc config right_padding 0
|
||||||
|
|
||||||
bspc config split_ratio 0.50
|
bspc config split_ratio 0.50
|
||||||
bspc config borderless_monocle true
|
bspc config borderless_monocle true
|
||||||
bspc config gapless_monocle true
|
bspc config gapless_monocle true
|
||||||
bspc config paddingless_monocle true
|
bspc config paddingless_monocle true
|
||||||
bspc config focus_by_distance true
|
bspc config click_to_focus true
|
||||||
bspc config history_aware_focus true
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Appearance
|
# Appearance
|
||||||
#
|
#
|
||||||
|
|
||||||
bspc config normal_frame_opacity 0.0
|
bspc config normal_border_color "#373b41"
|
||||||
bspc config focused_frame_opacity 0.1
|
|
||||||
bspc config normal_border_color "#155872"
|
|
||||||
bspc config active_border_color "#1C1E20"
|
bspc config active_border_color "#1C1E20"
|
||||||
bspc config focused_border_color "#22252c"
|
bspc config focused_border_color "#22252c"
|
||||||
|
|
||||||
|
@ -32,7 +29,7 @@ bspc config focused_border_color "#22252c"
|
||||||
|
|
||||||
i=1
|
i=1
|
||||||
for monitor in $(bspc query -M); do
|
for monitor in $(bspc query -M); do
|
||||||
bspc monitor $monitor -n "$i" -d $1/{desktop,code,web,file,chat,art,misc,music}
|
bspc monitor $monitor -n "$i" -d $i/{desktop,web,code,chat,art,music}
|
||||||
let i++
|
let i++
|
||||||
done
|
done
|
||||||
NMON=$i
|
NMON=$i
|
||||||
|
@ -43,8 +40,11 @@ unset i
|
||||||
# Rules
|
# Rules
|
||||||
#
|
#
|
||||||
|
|
||||||
|
bspc rule -a scratchpad state=floating sticky=on center=on
|
||||||
|
bspc rule -a Emacs desktop=^3 split_ratio=0.25 state=tiled
|
||||||
|
bspc rule -a Gimp desktop=^6
|
||||||
bspc rule -a mplayer2 state=floating
|
bspc rule -a mplayer2 state=floating
|
||||||
|
bspc rule -a Vlc state=floating
|
||||||
|
bspc rule -a feh state=floating center=on
|
||||||
bspc rule -a Kupfer.py focus=on
|
bspc rule -a Kupfer.py focus=on
|
||||||
bspc rule -a Screenkey manage=off
|
bspc rule -a Screenkey manage=off
|
||||||
bspc rule -a scratchpad state=floating sticky=on center=on
|
|
||||||
bspc rule -a Emacs split_ratio=0.25
|
|
||||||
|
|
Loading…
Reference in a new issue