diff --git a/neofetch b/neofetch index 6488eed1..848393be 100755 --- a/neofetch +++ b/neofetch @@ -238,7 +238,10 @@ getuptime() { ;; "Android"*) - uptime=$(uptime | awk -F ': |, ' '{printf $2}') + uptime=$(uptime | awk -F ' up' '{print $2}') + time="${time//[0-9] user*}" + time="${time//load average:*}" + time="${time%,*} ${time##*,}" ;; *)