From 803f48e03259aed1fee00bda0e77a7ce72efdda1 Mon Sep 17 00:00:00 2001 From: d3rrial Date: Sat, 7 Jan 2017 21:48:29 +0100 Subject: [PATCH] made Song case switch smaller --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 7912f9b8..b34655ab 100755 --- a/neofetch +++ b/neofetch @@ -1216,8 +1216,7 @@ get_song() { } case "${player/*\/}" in - "mopidy"*) song="$(mpc current)" ;; - "mpd"*) song="$(mpc current)" ;; + "mpd"* | "mopidy"*) song="$(mpc current)" ;; "mocp"*) song="$(mocp -Q "%artist - %song")" ;; "google play"*) song="$(gpmdp-remote current)" ;; "rhythmbox"*) song="$(rhythmbox-client --print-playing)" ;;