aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/workspace.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/workspace.sh')
-rwxr-xr-x.config/eww/scripts/workspace.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/eww/scripts/workspace.sh b/.config/eww/scripts/workspace.sh
index bf0847f..e0c34dd 100755
--- a/.config/eww/scripts/workspace.sh
+++ b/.config/eww/scripts/workspace.sh
@@ -8,7 +8,6 @@ else
arg=0
fi
num=$(river-bedload -print outputs | jq -r '.['$arg'] | select(.).view_tags')
-num=$(echo $num | awk -F' ' '{print $1}')
b=0
while [[ $num -gt 0 ]]
do
@@ -24,7 +23,7 @@ do
echo $b
fi
done
-return $b
+return
}
#define icons for workspaces 1-9