mirror of https://gitlab.com/dabruh/dotfiles.git
Updated output when cmus is down.
This commit is contained in:
parent
f1344b61d2
commit
c748f9ea78
|
@ -138,7 +138,7 @@ fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
QUERY_RESULT="$(cmus-remote --query 2>/dev/null)"
|
QUERY_RESULT="$(cmus-remote --query 2>/dev/null)"
|
||||||
[ -z "$QUERY_RESULT" ] && write_status "❌" && continue
|
[ -z "$QUERY_RESULT" ] && write_status "🎵❌" && continue
|
||||||
|
|
||||||
PROGRESS="$(get_progress)"
|
PROGRESS="$(get_progress)"
|
||||||
STATUS="$(get_status)"
|
STATUS="$(get_status)"
|
||||||
|
|
Loading…
Reference in New Issue