Fixed Android uptime
This commit is contained in:
parent
f3a907458f
commit
444c860e61
6
neofetch
6
neofetch
|
@ -242,9 +242,9 @@ getuptime() {
|
|||
|
||||
"Android"*)
|
||||
uptime=$(uptime | awk -F ' up' '{print $2}')
|
||||
time="${time//[0-9] user*}"
|
||||
time="${time//load average*}"
|
||||
time="${time%,*} ${time##*,}"
|
||||
uptime="${uptime//[0-9] user*}"
|
||||
uptime="${uptime//load average*}"
|
||||
uptime="${uptime%,*} ${uptime##*,}"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Reference in New Issue