mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 12:09:55 +00:00
Add verbose output
This commit is contained in:
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
Block a user