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>
6 # user is already defined
7 host="frost.bhojwani.org"
10 uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
11 packages="$(dpkg -l | grep -c ^i)"
22 # magenta='\033[0;35m'
27 # you can change these
28 lc="${reset}${bold}${white}" # labels
29 nc="${reset}${bold}${white}" # user and hostname
34 printf "${nc}${USER}${ic}@${nc}${host}${reset}
35 ${lc}OS ${ic}${os}${reset}
36 ${lc}KERNEL ${ic}${kernel}${reset}
37 ${lc}UPTIME ${ic}${uptime}${reset}
38 ${lc}PACKAGES ${ic}${packages}${reset}
39 ${lc}SHELL ${ic}${shell}${reset}
40 ${lc}DE ${ic}${ui}${reset}"