configfiles/bspwm/bspwmrc

61 lines
1.4 KiB
Text
Raw Normal View History

2015-05-29 20:51:46 +02:00
#!/bin/sh
INTERN="LVDS1"
EXTERN="VGA1"
2015-06-11 11:51:43 +02:00
bspc monitor $INTERN -d 1 2 3 4 5 6 7 8 9
2015-05-29 20:51:46 +02:00
EXTERN_CONNECTED=$(bspc query -M | grep $EXTERN)
if [ -n "$EXTERN_CONNECTED" ]; then
2015-06-11 11:51:43 +02:00
bspc monitor $EXTERN -d 1 2 3 4 5 6 7 8 9
2015-05-29 20:51:46 +02:00
else
bspc monitor $EXTERN -d
fi
bspc control --adopt-orphans
bspc config border_width 1
bspc config -m $INTERN top_padding 14
bspc config window_gap 8
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle false
bspc config focus_follows_pointer true
#bspc config auto_alternate true
bspc config auto_cancel true
bspc config ignore_ewmh_focus true
bspc config remove_disabled_monitor true
2015-06-23 20:03:09 +02:00
bspc config active_border_color "#545350"
bspc config focused_border_color "#7E7F89"
2015-05-29 20:51:46 +02:00
bspc rule -a viewnior floating=true
bspc rule -a feh floating=true
bspc rule -a mpv floating=true
bspc rule -a urxvt floating=true
bspc rule -a Thunar floating=true
bspc rule -a QEMU floating=true
bspc rule -a Gimp focus=on
#VBAM
bspc rule -a InputOutput floating=true
#Nitrogen
bspc rule -a Nitrogen floating=true
# Onboard keyboard
bspc rule -a onboard manage=off
# Flash
bspc rule -a plugin-container floating=true
bspc rule -a plugin-container fullscreen=true
bspc desktop LVDS1:^9 -l monocle
bspc rule -a "Psi-plus" desktop=LVDS1:^9
bspc rule -a "Thunderbird" desktop=LVDS1:^9
bspc rule -a "Weechat" desktop=LVDS1:^9
wmname LG3D