diff --git a/.travis.yml b/.travis.yml index 42da819a..680643c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,5 +20,5 @@ script: - time ./neofetch --ascii --config config/travis.conf -v # See this wiki page for why we're disabling these errors. # https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004; fi - if grep '.\{101\}' neofetch; then (exit 1); else (exit 0); fi diff --git a/neofetch b/neofetch index 8d0361d1..d473f385 100755 --- a/neofetch +++ b/neofetch @@ -1391,9 +1391,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| + 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}')"