mpd2nheko: remove status if nothing is playing
This commit is contained in:
parent
2cdbc7dbed
commit
c14c729ede
@ -9,6 +9,9 @@ local oldstatus
|
||||
while :; do
|
||||
local title=$(mpc current --format '%title%')
|
||||
if [[ -z ${title} ]]; then
|
||||
dbus-send --print-reply \
|
||||
--dest=im.nheko.Nheko / im.nheko.Nheko.setStatusMessage \
|
||||
"string:"
|
||||
sleep 10s
|
||||
continue
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user