2 # ufetch-armaan. My customized version of ufetch that doesn't print the ascii art, and doesn't spend time looking things up like the DE. Full credit goes to jschx (Joe Schillinger), the author of ufetch. <https://gitlab.com/jschx/ufetch>
8 uptime="$(uptime -p | cut -d ',' -f 1-2 | tail -c +4)"
19 # magenta='\033[0;35m'
24 # you can change these
25 lc="${reset}${bold}${white}" # labels
26 nc="${reset}${bold}${white}" # user and hostname
30 printf "${nc}${USER}${ic}@${nc}${host}${reset}
31 ${lc}OS ${ic}${os}${reset}
32 ${lc}KERNEL ${ic}${kernel}${reset}
33 ${lc}UPTIME ${ic}${uptime}${reset}
34 ${lc}SHELL ${ic}${shell}${reset}
35 ${lc}DE ${ic}${ui}${reset}"