Files
dotfiles/i3/.config/polybar/scripts/scroll_spotify_status.sh
Fabio Scotto di Santolo 56af90de63 Setting Polybar
2025-09-04 10:22:25 +02:00

14 lines
387 B
Bash
Executable File

#!/bin/bash
# see man zscroll for documentation of the following parameters
zscroll -l 30 \
--delay 0.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