You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
521 B
26 lines
521 B
3 years ago
|
[module/spotify]
|
||
|
type = custom/script
|
||
|
tail = true
|
||
|
|
||
|
format-prefix =
|
||
|
format = <label>
|
||
|
exec = ~/.config/polybar/scripts/scroll_spotify_status.sh
|
||
|
|
||
|
[module/spotify-prev]
|
||
|
type = custom/script
|
||
|
exec = echo
|
||
|
format = <label>
|
||
|
click-left = playerctl previous -p spotify
|
||
|
|
||
|
[module/spotify-play-pause]
|
||
|
type = custom/ipc
|
||
|
hook-0 = echo
|
||
|
hook-1 = echo
|
||
|
initial = 1
|
||
|
click-left = playerctl play-pause -p spotify
|
||
|
|
||
|
[module/spotify-next]
|
||
|
type = custom/script
|
||
|
exec = echo
|
||
|
format = <label>
|
||
|
click-left = playerctl next -p spotify
|