vivien / i3blocks-contrib

Official repository for community contributed blocklets

Home Page:https://github.com/vivien/i3blocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mediaplayer not working ( tested on cmus and VLC)

Henry-Ta opened this issue · comments

Expected behavior

Print out song artist, title

Actual behavior

Nothing shows up, but replace command=".../mediaplayer" with regular command=echo "playerctl metadata artist" then it works

i3blocks config relevant to blocklet(s)

command= echo $(playerctl metadata artist)
#command=~/.config/i3blocks/scripts/mediaplayer
instance=cmus
interval=5
signal=10

Output of blocklet(s) when run from command line

Only shows up result of echo command, not default command of mediaplayer blocklet

Output of any relevant other commands that might help diagnostics