dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5ce2d6a514ff2af90325153c7f343d24ceb94cfe
parent 400c0ceabe08f11b638a32e5d4124841a5e4d9c1
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Thu,  8 Aug 2024 16:31:24 +0200

dwmblock fixes

Diffstat:
Mscripts/dwmblock-iss | 2+-
Mscripts/dwmblock-taskspooler | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/dwmblock-iss b/scripts/dwmblock-iss @@ -1,6 +1,6 @@ #!/bin/sh iss_stream_1="https://www.youtube.com/watch?v=P9C25Un7xaM" -iss_stream_2="https://www.youtube.com/watch?v=jPTD2gnZFUw" +iss_stream_2="https://www.youtube.com/watch?v=VdFK-xs_r-4" show_iss_stream() { setsid -f mpv --no-osc --loop=inf --no-terminal --profile=low-latency --volume=0 "$1" ; notify "ISS Tracker" "Opening stream..." diff --git a/scripts/dwmblock-taskspooler b/scripts/dwmblock-taskspooler @@ -8,7 +8,7 @@ esac $tsp_cmd -l | awk --traditional ' BEGIN { finished=0 } NR > 1 { total++ } - $2 == "finished" { finished++ } + $2 ~ /finished|skipped/ { finished++ } END { if (total > 0) { printf("🧵 %s/%s", finished, total)