Song: Fix iTunes
This commit is contained in:
parent
43ac9dfcb2
commit
9889ba14cb
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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"*)
|
||||||
|
|
Loading…
Reference in a new issue