Files
dotfiles/arch/polybar/scripts/scroll_spotify_status.sh
2025-11-13 17:20:22 +01:00

13 lines
420 B
Bash
Executable File

#!/bin/bash
# see man zscroll for documentation of the following parameters
zscroll -l 80 \
--delay 0.1 \
--scroll-padding "  " \
--match-command "$HOME/.config/polybar/scripts/get_spotify_status.sh --status" \
--match-text "Playing" "--scroll 1" \
--match-text "Paused" "--scroll 0" \
--update-check true "$HOME/.config/polybar/scripts/get_spotify_status.sh" &
wait