diff --git a/bspwm/autostart b/bspwm/autostart new file mode 100755 index 0000000..fd816a4 --- /dev/null +++ b/bspwm/autostart @@ -0,0 +1,6 @@ +#!/bin/bash + +thunderbird & +psi-plus & +urxvt -name "Weechat" -e "weechat" & + diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc new file mode 100755 index 0000000..0f58fde --- /dev/null +++ b/bspwm/bspwmrc @@ -0,0 +1,56 @@ +#!/bin/sh + +INTERN="LVDS1" +EXTERN="VGA1" + +bspc monitor $INTERN -d 1 2 3 4 5 6 7 8 9 0 + +EXTERN_CONNECTED=$(bspc query -M | grep $EXTERN) + +if [ -n "$EXTERN_CONNECTED" ]; then + bspc monitor $EXTERN -d 1 2 3 4 5 6 7 8 9 0 +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 + +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 +