From 916d09a983f2a9c43c463e239dd3930dca2fac46 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Sat, 26 Aug 2017 10:09:53 +1000 Subject: [PATCH] song: Fix bug with player not being found. --- neofetch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/neofetch b/neofetch index 2dd6a1b0..9c709147 100755 --- a/neofetch +++ b/neofetch @@ -1408,10 +1408,9 @@ get_memory() { get_song() { player="$(ps x | awk '!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify|\ - Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\ - xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\ - guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ - {printf $5 " " $6; exit}')" +Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\ +xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\ +guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ {printf $5 " " $6; exit}')" get_song_dbus() { # Multiple players use an almost identical dbus command to get the information.