From aab70da27c097389c6df92a99525100b27655877 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Fri, 1 Jun 2018 14:02:12 +0200 Subject: [PATCH 1/2] song: add gmusicbrowser --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index ae8fd6de..5b51aeef 100755 --- a/neofetch +++ b/neofetch @@ -410,6 +410,7 @@ disk_subtitle="mount" # elisa # exaile # gnome-music +# gmusicbrowser # Google Play # guayadeque # iTunes @@ -2324,6 +2325,7 @@ get_song() { "elise" "exaile" "gnome-music" + "gmusicbrowser" "Google Play" "guayadeque" "iTunes" @@ -2385,6 +2387,7 @@ get_song() { "sayonara"*) get_song_dbus "sayonara" ;; "audacious"*) get_song_dbus "audacious" ;; "vlc"*) get_song_dbus "vlc" ;; + "gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;; "cmus"*) song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "}; From 840d4afbb1dc35f5dcda8395b8bcdec504c39cee Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Fri, 1 Jun 2018 14:10:11 +0200 Subject: [PATCH 2/2] misc: align some lines --- neofetch | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/neofetch b/neofetch index 5b51aeef..53cb4c08 100755 --- a/neofetch +++ b/neofetch @@ -2368,25 +2368,25 @@ get_song() { case "${player/*\/}" in "mpd"* | "mopidy"*) song="$(mpc -f '%artist% \n %album% \n %title%' current)" ;; - "mocp"*) song="$(mocp -Q '%artist \n %album \n %song')" ;; - "google play"*) song="$(gpmdp-remote current)" ;; - "rhythmbox"*) song="$(rhythmbox-client --print-playing-format '%ta \n %at \n %tt')" ;; - "deadbeef"*) song="$(deadbeef --nowplaying-tf '%artist% \n %album% \n %title%')" ;; - "xmms2d"*) song="$(xmms2 current -f '${artist} \n ${album} \n ${title}')" ;; - "qmmp"*) song="$(qmmp --nowplaying '%p \n %a \n %t')" ;; - "gnome-music"*) get_song_dbus "GnomeMusic" ;; - "lollypop"*) get_song_dbus "Lollypop" ;; - "clementine"*) get_song_dbus "clementine" ;; - "juk"*) get_song_dbus "juk" ;; - "bluemindo"*) get_song_dbus "Bluemindo" ;; - "guayadeque"*) get_song_dbus "guayadeque" ;; - "yarock"*) get_song_dbus "yarock" ;; - "deepin-music"*) get_song_dbus "DeepinMusic" ;; - "tomahawk"*) get_song_dbus "tomahawk" ;; - "elisa"*) get_song_dbus "elisa" ;; - "sayonara"*) get_song_dbus "sayonara" ;; - "audacious"*) get_song_dbus "audacious" ;; - "vlc"*) get_song_dbus "vlc" ;; + "mocp"*) song="$(mocp -Q '%artist \n %album \n %song')" ;; + "google play"*) song="$(gpmdp-remote current)" ;; + "rhythmbox"*) song="$(rhythmbox-client --print-playing-format '%ta \n %at \n %tt')" ;; + "deadbeef"*) song="$(deadbeef --nowplaying-tf '%artist% \n %album% \n %title%')" ;; + "xmms2d"*) song="$(xmms2 current -f '${artist} \n ${album} \n ${title}')" ;; + "qmmp"*) song="$(qmmp --nowplaying '%p \n %a \n %t')" ;; + "gnome-music"*) get_song_dbus "GnomeMusic" ;; + "lollypop"*) get_song_dbus "Lollypop" ;; + "clementine"*) get_song_dbus "clementine" ;; + "juk"*) get_song_dbus "juk" ;; + "bluemindo"*) get_song_dbus "Bluemindo" ;; + "guayadeque"*) get_song_dbus "guayadeque" ;; + "yarock"*) get_song_dbus "yarock" ;; + "deepin-music"*) get_song_dbus "DeepinMusic" ;; + "tomahawk"*) get_song_dbus "tomahawk" ;; + "elisa"*) get_song_dbus "elisa" ;; + "sayonara"*) get_song_dbus "sayonara" ;; + "audacious"*) get_song_dbus "audacious" ;; + "vlc"*) get_song_dbus "vlc" ;; "gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;; "cmus"*)