Commit d7abf3ce authored by Dylan Araps's avatar Dylan Araps

general: Enforce 100 chars per line.

parent 5467fb47
...@@ -20,5 +20,5 @@ script: ...@@ -20,5 +20,5 @@ script:
- time ./neofetch --ascii --config config/travis.conf -v - time ./neofetch --ascii --config config/travis.conf -v
# See this wiki page for why we're disabling these errors. # See this wiki page for why we're disabling these errors.
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions # 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 - if grep '.\{101\}' neofetch; then (exit 1); else (exit 0); fi
...@@ -1391,9 +1391,9 @@ get_memory() { ...@@ -1391,9 +1391,9 @@ get_memory() {
} }
get_song() { get_song() {
player="$(ps x | awk '!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify| player="$(ps x | awk '!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify|\
Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious| Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\
xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo| xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\
guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/
{printf $5 " " $6; exit}')" {printf $5 " " $6; exit}')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment