2023-08-23 19:45:38 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
status=$(mpc status | sed -n '/playing/p' | cut -c2-8 | sed 's/^[ \t]*//')
|
|
|
|
|
|
|
|
if [ "$status" = "playing" ]; then # If song is playing
|
2023-12-10 19:00:10 +01:00
|
|
|
printf "%s\n" ""
|
2023-08-23 19:45:38 +02:00
|
|
|
else
|
2023-12-10 19:00:10 +01:00
|
|
|
printf "%s\n" ""
|
2023-08-23 19:45:38 +02:00
|
|
|
fi
|
|
|
|
|