From a8f8ece4382637cc8632957726f80db90660d1c3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 5 Nov 2016 16:28:22 +0100 Subject: [PATCH] bspwm: different workspaces for side monitors --- os/arch/.config/bspwm/bspwmrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/arch/.config/bspwm/bspwmrc b/os/arch/.config/bspwm/bspwmrc index abb8ebce..35469dcc 100755 --- a/os/arch/.config/bspwm/bspwmrc +++ b/os/arch/.config/bspwm/bspwmrc @@ -33,10 +33,10 @@ bspc config active_border_color "${COLOR[13]}" # Displays # -i=1 -for monitor in $(bspc query -M); do - bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} - echo $i/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} > /tmp/bspwm-monitor-$i +bspc monitor primary -d 1/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} +i=2 +for monitor in $(bspc query -M | tail -n +2); do + bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,MUSIC} let i++ done NMON=$i