1
0
Fork 0

mx-update-np: re-use result from previous API call

This commit is contained in:
tastytea 2024-04-04 14:21:07 +02:00
parent 92ffb65da4
commit 72d0c015fc
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ local np
while sleep 10; do
np=$(np-subsonic)
if [[ -n "${np}" ]]; then
mx-set-status "np: $(np-subsonic)"
mx-set-status "np: ${np}"
else
mx-set-status
fi