Files
nix-config/dotconfig/polybar/scroll_spotify_status.sh
Amaury JOLY b2038c9105 update
2026-03-25 19:01:19 +01:00

12 lines
381 B
Bash
Executable File

#!/bin/sh
# see man zscroll for documentation of the following parameters
zscroll -l 30 \
--delay 1 \
--scroll-padding "  " \
--match-command "`dirname $0`/get_spotify_status.sh --status" \
--match-text "Playing" "--scroll 1" \
--match-text "Paused" "--scroll 0" \
--update-check true "`dirname $0`/get_spotify_status.sh" &
wait