aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-08-01 20:01:38 +0100
committerJustine Smithies <justine@smithies.me.uk>2024-08-01 20:01:38 +0100
commitc1591e647ce297856fb6ad8c7e1fd23867d48d51 (patch)
tree3917d63c313e5c574202a7aec968d1570572c86d /.config
parent7b6789c34b7e9f61b7f4c4b7685ac52a71651ff8 (diff)
Remove unused code
Diffstat (limited to '.config')
-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