diff options
Diffstat (limited to 'scripts/.local/bin/statusbar/sb-tasks')
| -rwxr-xr-x | scripts/.local/bin/statusbar/sb-tasks | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/.local/bin/statusbar/sb-tasks b/scripts/.local/bin/statusbar/sb-tasks index 586300e..349e8cb 100755 --- a/scripts/.local/bin/statusbar/sb-tasks +++ b/scripts/.local/bin/statusbar/sb-tasks @@ -8,13 +8,5 @@ num=$(tsp -l | awk -v numr=0 -v numq=0 '{if (/running/)numr++; if (/queued/)numq++} END{print numr+numq"("numq")"}') -# Handle mouse clicks -case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -e tsp -l ;; - 3) notify-send "Tasks module" "🤖: number of running/queued background tasks -- Left click opens tsp" ;; # Right click - 2) $EDITOR "$0" ;; # Middle click -esac - [ "$num" != "0(0)" ] && - echo "🤖$num" + echo "$num" |
