rice/polybar-modules/spotify-controls.ini
2021-07-28 23:44:53 -07:00

33 lines
763 B
INI

[module/spotify-prev]
type = custom/script
# exec = echo "玲"
exec = ~/i3/scripts/spot-controls.sh prev
format = <label>
click-left = playerctl previous spotify
format-padding = 1
format-underline = #1DB954
# format-foreground = #1DB954
format-foreground = #55AEBB
[module/spotify-play-pause]
type = custom/ipc
hook-0 = echo ""
hook-1 = echo "契"
hook-0-padding=1
hook-1-padding=1
hook-0-foreground = #1db954
hook-1-foreground = #1db954
initial = 1
click-left = playerctl play-pause spotify
[module/spotify-next]
type = custom/script
# exec = echo "怜"
exec = ~/i3/scripts/spot-controls.sh next
format = <label>
#format-padding=1
click-left = playerctl next spotify
# format-foreground = #1DB954
format-foreground = #55AEBB
format-underline = #1DB954