update waybar scripts

This commit is contained in:
2025-03-18 20:07:55 -07:00
parent b931f47e07
commit 8e19d89ba2
5 changed files with 38 additions and 7 deletions

11
waybar/scroll-mpv.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
zscroll -p ' | ' --delay 0.2 \
--length 30 \
--match-command "$HOME/.config/waybar/scripts/playerctl.sh mpv" \
--match-text ' ' "" \
--match-text ' ' "--scroll 0" \
--match-text "^volume:" "--before-text '' --scroll 0 --after-text ''" \
--update-interval 1 \
--update-check true "$HOME/.config/waybar/scripts/playerctl.sh mpv" &
wait