os/arch: polish bspwmrc

This commit is contained in:
Henrik Lissner 2016-11-20 20:34:45 -05:00
parent 209067d193
commit d40e82460a

View file

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
bspc config border_width 5 bspc config border_width 1
bspc config window_gap 10 bspc config window_gap 20
bspc config top_padding 24 bspc config top_padding 80
# bspc config bottom_padding 0 bspc config bottom_padding 50
# bspc config left_padding 0 bspc config left_padding 50
# bspc config right_padding 0 bspc config right_padding 50
bspc config split_ratio 0.50 bspc config split_ratio 0.50
bspc config gapless_monocle true bspc config gapless_monocle true
@ -13,6 +13,11 @@ bspc config borderless_monocle true
bspc config paddingless_monocle false bspc config paddingless_monocle false
bspc config click_to_focus true bspc config click_to_focus true
bspc config pointer_modifier mod4
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
# #
# Appearance # Appearance
@ -24,8 +29,8 @@ for ((i=0;i<=END;i++)); do
COLOR[$i]=$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}") COLOR[$i]=$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}")
done done
bspc config normal_border_color "${COLOR[4]}" bspc config normal_border_color "${COLOR[0]}"
bspc config focused_border_color "${COLOR[0]}" bspc config focused_border_color "#263f4a"
bspc config active_border_color "${COLOR[13]}" bspc config active_border_color "${COLOR[13]}"
@ -48,7 +53,7 @@ unset i
# #
bspc rule -a scratchpad state=floating sticky=on center=on 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 Emacs split_ratio=0.25 state=tiled
bspc rule -a Gimp desktop=^6 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 Vlc state=floating
@ -56,3 +61,4 @@ 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 love state=floating center=on sticky=on bspc rule -a love state=floating center=on sticky=on
bspc rule -a SimpleScreenRecorder state=floating center=on sticky=on