--- /dev/null
+#!/usr/bin/env bash
+# Generates lolcated logo for my shell rc
+
+[[ -d ~/.local/share/zsh/lolcat/ ]] || mkdir -p ~/.local/share/zsh/lolcat
+
+for (( i = 0; i < 500; i++ )); do
+ cat ~/Code/personal-logo/ascii/ascii-small-white | lolcat --force > ~/.local/share/zsh/lolcat/$i
+done
# 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>
## INFO
-
-# user is already defined
-host="frost.bhojwani.org"
+host="$(hostname)"
os='Debian unstable'
kernel="$(uname -sr)"
-uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
-packages="$(dpkg -l | grep -c ^i)"
+uptime="$(uptime | cut -d ':' -f 1 | tail -c +2)$(uptime | echo "scale=1; $(cut -d ':' -f 2)/60" | bc ) hours"
shell="zsh"
ui="KDE Plasma"
# you can change these
lc="${reset}${bold}${white}" # labels
nc="${reset}${bold}${white}" # user and hostname
-ic="${reset}" # info
+ic="${reset}" # info
## OUTPUT
-
printf "${nc}${USER}${ic}@${nc}${host}${reset}
${lc}OS ${ic}${os}${reset}
${lc}KERNEL ${ic}${kernel}${reset}
${lc}UPTIME ${ic}${uptime}${reset}
-${lc}PACKAGES ${ic}${packages}${reset}
${lc}SHELL ${ic}${shell}${reset}
${lc}DE ${ic}${ui}${reset}"