Commit f7e254d0 authored by Dylan Araps's avatar Dylan Araps

Song: Simplify state detection

parent c92fb13c
...@@ -1254,13 +1254,8 @@ get_song() { ...@@ -1254,13 +1254,8 @@ get_song() {
esac esac
case "$state" in case "$state" in
"paused" | "PAUSE" | "Paused") "pau"*) song="Paused" ;;
song="Paused" "sto"*) song="Stopped" ;;
;;
"stopped" | "STOP" | "Stopped")
song="Stopped"
;;
esac esac
# Display Artist and Title on seperate lines. # Display Artist and Title on seperate lines.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment