Add verbose output
This commit is contained in:
parent
0a5e676b74
commit
b193b9e5d5
4
neofetch
4
neofetch
|
@ -590,6 +590,10 @@ getuptime () {
|
||||||
hours=$((uptime / 3600%24))
|
hours=$((uptime / 3600%24))
|
||||||
days=$((uptime / 86400))
|
days=$((uptime / 86400))
|
||||||
|
|
||||||
|
echo "$mins"
|
||||||
|
echo "$hours"
|
||||||
|
echo "$days"
|
||||||
|
|
||||||
# Format the output like Linux's "uptime -p" cmd.
|
# Format the output like Linux's "uptime -p" cmd.
|
||||||
if [ "$mins" == 1 ]; then
|
if [ "$mins" == 1 ]; then
|
||||||
uptime="$mins minute"
|
uptime="$mins minute"
|
||||||
|
|
Reference in New Issue