From 2f70e991c98096ab0143b5982d2c9179a02bbafd Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sat, 24 Dec 2016 10:12:29 +0100 Subject: [PATCH] Song: Add support for Guayadeque --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index ed94bd45..6257679f 100755 --- a/neofetch +++ b/neofetch @@ -1191,7 +1191,7 @@ get_memory() { get_song() { # This is absurdly long. - player="$(ps x | awk '!(/awk|Helper|Cache/) && /mpd|cmus|mocp|spotify|Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo/ {printf $5 " " $6; exit}')" + player="$(ps x | awk '!(/awk|Helper|Cache/) && /mpd|cmus|mocp|spotify|Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|guayadeque/ {printf $5 " " $6; exit}')" get_song_dbus() { # Multiple players use an almost identical dbus command to get the information. @@ -1218,6 +1218,7 @@ get_song() { "clementine"*) get_song_dbus "clementine" ;; "juk"*) get_song_dbus "juk" ;; "bluemindo"*) get_song_dbus "Bluemindo" ;; + "guayadeque"*) get_song_dbus "guayadeque" ;; "cmus"*) artist="$(cmus-remote -Q | grep -F "tag artist ")"