diff options
Diffstat (limited to 'Scripts/.local/scripts/status/music')
-rwxr-xr-x | Scripts/.local/scripts/status/music | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Scripts/.local/scripts/status/music b/Scripts/.local/scripts/status/music index 8231c04..b7233d9 100755 --- a/Scripts/.local/scripts/status/music +++ b/Scripts/.local/scripts/status/music @@ -1,10 +1,3 @@ #!/usr/bin/env bash -name="$(mpc -f '%title%' | head -1)" -offline="$(echo $name | grep -E 'volume:|MPD')" -if [[ $offline ]] -then - name="MPD off" -else - name="$name" -fi -echo $name + +echo "$(playerctl --player=spotify metadata title)" |