Fix No active player error!

This commit is contained in:
Carlos Fernandez Lockward 2025-06-18 23:56:10 -04:00
parent 66572a68e6
commit 80f2d90435

View file

@ -7,4 +7,4 @@ end
set -l position (caelestia shell mpris getActive position)
set -l length (caelestia shell mpris getActive length)
test $position != 'No media' && echo "$(fmt-time $position)/$(fmt-time $length)"
test $position != 'No media' -a $position != 'No active player' && echo "$(fmt-time $position)/$(fmt-time $length)"