Travis output improvementS

This commit is contained in:
Dylan 2016-03-26 19:12:33 +11:00
parent 2dcf3247ee
commit ed469eee06
2 changed files with 6 additions and 1 deletions

View file

@ -23,4 +23,5 @@ ${c2}\`/-\`${c5} /MMs\` ${c3}.///:${c5}.+MMs sMM+-${c3}//:-\`${c5} ./dMh\
${c2}.hMMMMMMMMMMMMMMMMhMMMMMMMMMMMMNs\` ${c2}.hMMMMMMMMMMMMMMMMhMMMMMMMMMMMMNs\`
${c2}/dMMMMMMMMMMMMd+${c1}::${c2}smNMMdys+:. ${c2}/dMMMMMMMMMMMMd+${c1}::${c2}smNMMdys+:.
${c2}./osysooshy${c1}+///++++:\` ${c2}./osysooshy${c1}+///++++:\`
" "

View file

@ -2797,12 +2797,16 @@ while [ "$1" ]; do
esac esac
;; ;;
--test) --test)
info=(title underline distro kernel uptime packages shell resolution de wm theme icons cpu gpu memory font disk battery song localip publicip users birthday cols) info=(title underline distro kernel uptime packages shell resolution de wm theme icons cpu gpu memory font disk battery song localip publicip users birthday)
printinfo () { printinfo () {
info linebreak
for func in "${info[@]}"; do for func in "${info[@]}"; do
info "$(tr '[:lower:]' '[:upper:]' <<< "$func")" $func info "$(tr '[:lower:]' '[:upper:]' <<< "$func")" $func
done done
info linebreak
info cols
info linebreak
printf "%b%s" "\033[$(tput lines)H" printf "%b%s" "\033[$(tput lines)H"
} }
;; ;;