11 lines
202 B
Bash
Executable File
11 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
status=$(mpc status | sed -n '/playing/p' | cut -c2-8 | sed 's/^[ \t]*//')
|
|
|
|
if [ "$status" = "playing" ]; then # If song is playing
|
|
printf "%s\n" ""
|
|
else
|
|
printf "%s\n" ""
|
|
fi
|
|
|