Commit 9889ba14 authored by Dylan Araps's avatar Dylan Araps

Song: Fix iTunes

parent 43ac9dfc
...@@ -1121,7 +1121,7 @@ getmemory() { ...@@ -1121,7 +1121,7 @@ getmemory() {
getsong() { getsong() {
# This is absurdly long. # This is absurdly long.
player="$(ps x | awk '!(/awk|Helper|Cache/) && /mpd|cmus|mocp|spotify|Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious/ {printf $5 " " $6; exit}')" player="$(ps x | awk '!(/awk|Helper|Cache/) && /mpd|cmus|mocp|spotify|Google Play|iTunes|rhythmbox|banshee|amarok|deadbeef|audacious/ {printf $5 " " $6; exit}')"
case "${player/*\/}" in case "${player/*\/}" in
"mpd"*) "mpd"*)
......
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