Fix No active player error!
This commit is contained in:
parent
66572a68e6
commit
80f2d90435
1 changed files with 1 additions and 1 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue