2 # ufetch-armaan. My customized version of ufetch that doesn't print the ascii
3 # art, and focuses on information that changes often. Ufetch was written
4 # by jschx (Joe Schillinger), and is ISC licensed.
5 # https://gitlab.com/jschx/ufetch
8 host="$(cat /etc/hostname)"
11 uptime="$(uptime -p | sed \
15 date="$(date +%Y-%m-%0e)"
17 tasks="$(task list due.before:week | tail -n 1 | head -c -7)"
24 lc="${reset}${bold}${white}" # labels
25 nc="${reset}${bold}${white}" # user and hostname
29 printf "${nc}${USER}${ic}@${nc}${host}${reset}
30 ${lc}OS ${ic}${os}${reset}
31 ${lc}KERNEL ${ic}${kernel}${reset}
32 ${lc}UPTIME ${ic}${uptime}${reset}
33 ${lc}DATE ${ic}${date}${reset}
34 ${lc}TIME ${ic}${time}${reset}
35 ${lc}TASKS ${ic}${tasks}${reset}