corrected scrolling and polybar to only track spotify

nvim
spinach 2 years ago
parent d28159afb8
commit 57c8bb6df7

@ -9,7 +9,7 @@ if [[ "$1" == "--scroll" ]] ; then
-p " 󰎈 " \
--delay 0.5 \
--update-check true \
--match-command "playerctl status" \
--match-command "playerctl --player=spotify status" \
--match-text "Playing" "--scroll 1" \
--match-text "Paused" "--scroll 0" \
"playerctl --player=spotify metadata -s --format '{{artist}} - {{title}}'" &

@ -240,7 +240,7 @@ click-right = rofi-music
; playerctl interaction for spotify
type = custom/script
interval = 1
exec = playerctl metadata -s --format '{{duration(position)}}/{{duration(mpris:length)}}'
exec = playerctl --player=spotify metadata -s --format '{{duration(position)}}/{{duration(mpris:length)}}'
[module/todo]
; uses calcurse to cycle through todo items

Loading…
Cancel
Save