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 " 󰎈 " \ -p " 󰎈 " \
--delay 0.5 \ --delay 0.5 \
--update-check true \ --update-check true \
--match-command "playerctl status" \ --match-command "playerctl --player=spotify status" \
--match-text "Playing" "--scroll 1" \ --match-text "Playing" "--scroll 1" \
--match-text "Paused" "--scroll 0" \ --match-text "Paused" "--scroll 0" \
"playerctl --player=spotify metadata -s --format '{{artist}} - {{title}}'" & "playerctl --player=spotify metadata -s --format '{{artist}} - {{title}}'" &

@ -240,7 +240,7 @@ click-right = rofi-music
; playerctl interaction for spotify ; playerctl interaction for spotify
type = custom/script type = custom/script
interval = 1 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] [module/todo]
; uses calcurse to cycle through todo items ; uses calcurse to cycle through todo items

Loading…
Cancel
Save