add waybar scripts

This commit is contained in:
2025-03-16 23:40:55 -07:00
parent 012dd1d843
commit 1e17b1796b
7 changed files with 340 additions and 0 deletions

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

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