Move cursor to bottom in test mode
This commit is contained in:
parent
70b59ac1ef
commit
51d773dc52
10
neofetch
10
neofetch
|
@ -2792,6 +2792,16 @@ while [ "$1" ]; do
|
||||||
*) config_file="$2"; config="on"; getconfig ;;
|
*) config_file="$2"; config="on"; getconfig ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
--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)
|
||||||
|
|
||||||
|
printinfo () {
|
||||||
|
for func in "${info[@]}"; do
|
||||||
|
info "${func^^}" $func
|
||||||
|
done
|
||||||
|
printf "%b%s" "\033[$(tput lines)H"
|
||||||
|
}
|
||||||
|
;;
|
||||||
|
|
||||||
--help) usage ;;
|
--help) usage ;;
|
||||||
esac
|
esac
|
||||||
|
|
Reference in New Issue