From 2e6f8748934cc15d8b3482a005984617f36d4aec Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 20 Feb 2026 22:51:57 +0900 Subject: modified statusbar/sb-queues --- ar/.local/bin/statusbar/sb-queues | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ar') diff --git a/ar/.local/bin/statusbar/sb-queues b/ar/.local/bin/statusbar/sb-queues index 477fa7f..ac7cb55 100755 --- a/ar/.local/bin/statusbar/sb-queues +++ b/ar/.local/bin/statusbar/sb-queues @@ -22,7 +22,7 @@ EOF } # This block displays the number of running and queued background tasks. Requires tsp. -num=$(tsp -l | awk -v numr=0 -v numq=0 '{if (!/notify-send/ && /running/) numr++; if (!/notify-send/ && /queued/) numq++} END{print numr"|"numr+numq}') +num=$(tsp -l | awk -v numr=0 -v numq=0 '{if (!/notify-send/ && /running/) numr++; if (!/notify-send/ && /queued/) numq++} END{print numr"/"numr+numq}') # Handle mouse clicks case $BLOCK_BUTTON in @@ -37,4 +37,4 @@ case $BLOCK_BUTTON in 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; esac -[ -f /tmp/qplaylist ] && cat /tmp/qplaylist 2>/dev/null || ([ "$num" != "0|0" ] && echo "🤖$num" || echo "") +[ -f /tmp/qplaylist ] && cat /tmp/qplaylist 2>/dev/null || ([ "$num" != "0/0" ] && echo "🤖$num" || echo "") -- cgit v1.2.3