general: Enforce 100 chars per line.
This commit is contained in:
parent
5467fb47da
commit
d7abf3ce68
|
@ -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
|
||||||
|
|
6
neofetch
6
neofetch
|
@ -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}')"
|
||||||
|
|
||||||
|
|
Reference in New Issue