X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=Scripts%2Fufetch-arch;h=68827632625b59271a5980fb2ac87839757e62af;hp=f404b87955fbbbd8dfe6fefa856c299daf7ccaf4;hb=e5525db34feb526da67652250fed25bd9db2362f;hpb=68c67b541445ec5c32c4660243d906b4c5479115 diff --git a/Scripts/ufetch-arch b/Scripts/ufetch-arch index f404b87..6882763 100755 --- a/Scripts/ufetch-arch +++ b/Scripts/ufetch-arch @@ -5,7 +5,7 @@ ## INFO # user is already defined -hostname="$(cat /etc/hostname)" +hostname="$(hostname)" os='Arch Linux' host="$(cat /sys/devices/virtual/dmi/id/product_name) $(cat /sys/devices/virtual/dmi/id/product_family)" kernel="$(uname -sr)" @@ -72,17 +72,27 @@ c0="${reset}${cyan}" # first color ## OUTPUT +# ${c0} /\\ ${nc}${USER}${ic}@${nc}${hostname}${reset} +# ${c0} / \\ ${lc}OS: ${ic}${os}${reset} +# ${c0} /\\ \\ ${lc}KERNEL: ${ic}${kernel}${reset} +# ${c0} / __ \\ ${lc}HOST: ${ic}${host}${reset} +# ${c0} / ( ) \\ ${lc}UPTIME: ${ic}${uptime}${reset} +# ${c0} / __| |__\\\\ ${lc}PACKAGES: ${ic}${packages}${reset} +# ${c0} /.\` \`.\\ ${lc}SHELL: ${ic}${shell}${reset} +# ${lc}${uitype}: ${ic}${ui}${reset} +# ${bold}${red}██${green}██${yellow}██${blue}██${magenta}██${cyan}██${white}██${reset} ${lc}TERM: ${ic}${term}${reset} + + # ${bold}${red}██${green}██${yellow}██${blue}██${magenta}██${cyan}██${white}██${reset} cat <