commit 5c44c44675e4706db0fe0d7153694fafef9304f9 parent f9c66e7c326551c211bfc927746f15af525623df Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Thu, 6 Feb 2014 09:25:03 +0100 Changed config to suit iddqd setup Diffstat:
M | .config/bspwm/bspwmrc | | | 36 | +++++++++++++++++------------------- |
1 file changed, 17 insertions(+), 19 deletions(-)
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc @@ -7,28 +7,26 @@ FIRST_DESK_MAIN=i REMAINING_DESKS_MAIN="ii iii iv" FIRST_DESK_SECONDARY=v -REMAINING_DESKS_SECONDARY="vi vii viii ix x" +REMAINING_DESKS_SECONDARY="vi vii viii" #MONITORS_ASSOCIATED=`bspc query -M | wc -l` #if [[ -z `xrandr | grep " connected" | grep 'VGA\|DP-1'` ]]; then -# #No monitor connected -# bspc desktop ^1 -n $FIRST_DESK_MAIN -# bspc monitor -a $REMAINING_DESKS_MAIN -# bspc config top_padding 14 -#else -# bspc desktop ^1 -n $FIRST_DESK_SECONDARY -# bspc config -m ^1 top_padding 14 -# bspc monitor -a $REMAINING_DESKS_SECONDARY -# -# bspc monitor -f next -# -# bspc desktop Desktop2 -n $FIRST_DESK_MAIN -# bspc monitor -a $REMAINING_DESKS_MAIN -# bspc config -m ^2 top_padding 14 -#fi -bspc desktop ^1 -n $FIRST_DESK_MAIN -bspc monitor -a $REMAINING_DESKS_MAIN -bspc config top_padding 14 +HOSTNAME=`hostname` +if [[ "$HOSTNAME" == 'iddqd' ]]; then + bspc desktop ^1 -n $FIRST_DESK_SECONDARY + bspc config -m ^1 top_padding 14 + bspc monitor -a $REMAINING_DESKS_SECONDARY + + bspc monitor -f next + + bspc desktop Desktop2 -n $FIRST_DESK_MAIN + bspc monitor -a $REMAINING_DESKS_MAIN + bspc config -m ^2 top_padding 14 +else + bspc desktop ^1 -n $FIRST_DESK_MAIN + bspc monitor -a $REMAINING_DESKS_MAIN + bspc config top_padding 14 +fi # Visual options bspc config border_width 2