From e2e5460d47aa4b46491cb4bae1c5efaf302c7991 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 4 May 2017 07:51:11 -0400 Subject: [PATCH] os/+arch (bspwm): add setup for proteus host --- os/+arch/.config/bspwm/bspwmrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/os/+arch/.config/bspwm/bspwmrc b/os/+arch/.config/bspwm/bspwmrc index ea69c7e0..1b494498 100755 --- a/os/+arch/.config/bspwm/bspwmrc +++ b/os/+arch/.config/bspwm/bspwmrc @@ -51,16 +51,19 @@ host=$(hostname) case $host in triton*) export MONITOR=DVI-I-1 - bspc monitor $MONITOR -d {1,2,3,4,5} [[ $nmon > 1 ]] && bspc monitor HDMI-0 -d HDMI-0/1 [[ $nmon > 2 ]] && bspc monitor DVI-D-0 -d DVI-D-0/1 - bspc config -m $MONITOR top_padding 30 + ;; + proteus*) + export MONITOR=LVDS-0 ;; esac - -# top-bar -~/.config/polybar/run.sh +if [[ $MONITOR ]]; then + bspc config -m $MONITOR top_padding 30 + bspc monitor $MONITOR -d {1,2,3,4,5} + ~/.config/polybar/run.sh +fi #