From 95549148d5d21a042bef81969748f4f4395ee64b Mon Sep 17 00:00:00 2001 From: Deon Spengler Date: Sat, 25 Mar 2017 09:55:38 +0200 Subject: [PATCH] updated variable name --- bspwm/bspwmrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 6fbb3a0..79dfbb0 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -14,13 +14,13 @@ bspc config click_to_focus true bspc config focused_border_color "#517ba2" bspc config presel_feedback_color "#517ba2" -# desktops +# setup workspaces monitors=$(bspc query -M) -array=(${monitors}) +monitors=(${monitors}) -if [ ${#array[@]} -eq 2 ]; then - bspc monitor ${array[0]} -d web games - bspc monitor ${array[1]} -d term misc +if [ ${#monitors[@]} -eq 2 ]; then + bspc monitor ${monitors[0]} -d web games + bspc monitor ${monitors[1]} -d term misc else bspc monitor -d term web games misc fi