chore: initial commit
This commit is contained in:
12
polybar/scripts/scroll_spotify_status.sh
Executable file
12
polybar/scripts/scroll_spotify_status.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# see man zscroll for documentation of the following parameters
|
||||
zscroll -l 120 \
|
||||
--delay 0.3 \
|
||||
--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
|
||||
Reference in New Issue
Block a user