You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this will help
-- Check if music is playing (example for Rhythmbox)
${if_running rhythmbox}
${font DejaVu Sans Mono:size=10}Now Playing:${font} ${exec rhythmbox-client --print-playing}
${else}
${font DejaVu Sans Mono:size=10}No music playing${font}
${endif}
or
${if_match "${exec mpc status | grep -o 'playing'}" == "playing"}
${font DejaVu Sans Mono:size=10}Now Playing:${font} ${exec mpc current}
${else}
${font DejaVu Sans Mono:size=10}No music playing${font}
${endif}
I want it to only show up when playing music
Is there any way??
The text was updated successfully, but these errors were encountered: