2016-11-03 10:56:25 -07:00
|
|
|
#!/bin/sh
|
2016-10-19 07:56:37 -07:00
|
|
|
|
2016-11-03 10:56:25 -07:00
|
|
|
bspc config border_width 5
|
|
|
|
bspc config window_gap 11
|
|
|
|
bspc config top_padding 22
|
|
|
|
# bspc config bottom_padding 0
|
|
|
|
# bspc config left_padding 0
|
|
|
|
# bspc config right_padding 0
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
|
|
bspc config split_ratio 0.50
|
|
|
|
bspc config borderless_monocle true
|
|
|
|
bspc config gapless_monocle true
|
|
|
|
bspc config paddingless_monocle true
|
2016-11-03 10:56:25 -07:00
|
|
|
bspc config click_to_focus true
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Appearance
|
|
|
|
#
|
|
|
|
|
2016-11-03 10:56:25 -07:00
|
|
|
bspc config normal_border_color "#373b41"
|
2016-10-19 07:56:37 -07:00
|
|
|
bspc config active_border_color "#1C1E20"
|
2016-10-27 06:33:49 -07:00
|
|
|
bspc config focused_border_color "#22252c"
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Displays
|
|
|
|
#
|
|
|
|
|
|
|
|
i=1
|
|
|
|
for monitor in $(bspc query -M); do
|
2016-11-03 10:56:25 -07:00
|
|
|
bspc monitor $monitor -n "$i" -d $i/{desktop,web,code,chat,art,music}
|
2016-11-03 11:00:40 -07:00
|
|
|
echo $i/{desktop,web,code,chat,art,music} > /tmp/bspwm-monitor-$i
|
2016-10-19 07:56:37 -07:00
|
|
|
let i++
|
|
|
|
done
|
|
|
|
NMON=$i
|
|
|
|
unset i
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Rules
|
|
|
|
#
|
|
|
|
|
2016-11-03 10:56:25 -07:00
|
|
|
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
|
2016-10-19 07:56:37 -07:00
|
|
|
bspc rule -a mplayer2 state=floating
|
2016-11-03 10:56:25 -07:00
|
|
|
bspc rule -a Vlc state=floating
|
|
|
|
bspc rule -a feh state=floating center=on
|
2016-10-19 07:56:37 -07:00
|
|
|
bspc rule -a Kupfer.py focus=on
|
|
|
|
bspc rule -a Screenkey manage=off
|