diff options
Diffstat (limited to 'scripts/.local/bin/statusbar/sb-tasks')
| -rwxr-xr-x | scripts/.local/bin/statusbar/sb-tasks | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/.local/bin/statusbar/sb-tasks b/scripts/.local/bin/statusbar/sb-tasks deleted file mode 100755 index 349e8cb..0000000 --- a/scripts/.local/bin/statusbar/sb-tasks +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Originally by Andr3as07 <https://github.com/Andr3as07> -# Some changes by Luke -# Rebuild by Tenyun - -# This block displays the number running background tasks. Requires tsp. - -num=$(tsp -l | awk -v numr=0 -v numq=0 '{if (/running/)numr++; if (/queued/)numq++} END{print numr+numq"("numq")"}') - -[ "$num" != "0(0)" ] && - echo "$num" |
