From a62c3d20298d5fb30c660d34ce89fb6be4df9c80 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sun, 13 May 2018 11:15:24 +0200 Subject: [PATCH] song: add support for vlc --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 84fef598..f7e99fa3 100755 --- a/neofetch +++ b/neofetch @@ -436,6 +436,7 @@ disk_subtitle="mount" # xmms2d # yarock # sayonara +# vlc music_player="auto" # Format to display song information. @@ -2392,7 +2393,8 @@ get_song() { -e "tomahawk" \ -e "xmms2d" \ -e "yarock" \ - -e "sayonara")" + -e "sayonara" \ + -e "vlc")" [[ "$music_player" && "$music_player" != "auto" ]] && \ player="$music_player" @@ -2429,6 +2431,7 @@ get_song() { "elisa"*) get_song_dbus "elisa" ;; "sayonara"*) get_song_dbus "sayonara" ;; "audacious"*) get_song_dbus "audacious" ;; + "vlc"*) get_song_dbus "vlc" ;; "cmus"*) song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};