More consistency fixes

This commit is contained in:
jschx committed 2018-03-24 14:01:24 -05:00
1 parent c6bdd1cd21
commit f57160d30e
12 files changed
+283 -298

No files matched your search

+22 -24
View File
@@ -1,7 +1,6 @@
#!/bin/sh
#
# ufetch-freebsd - tiny system info for freebsd
#
## INFO
@@ -19,35 +18,34 @@ fi
## DEFINE COLORS
# probably don't change these
bc="$(tput md)" # bold
c0="$(tput AF 0)" # black
c1="$(tput AF 1)" # red
c2="$(tput AF 2)" # green
c3="$(tput AF 3)" # yellow
c4="$(tput AF 4)" # blue
c5="$(tput AF 5)" # magenta
c6="$(tput AF 6)" # cyan
c7="$(tput AF 7)" # white
rc="$(tput me)" # reset
bold="$(tput md)"
black="$(tput AF 0)"
red="$(tput AF 1)"
green="$(tput AF 2)"
yellow="$(tput AF 3)"
blue="$(tput AF 4)"
magenta="$(tput AF 5)"
cyan="$(tput AF 6)"
white="$(tput AF 7)"
reset="$(tput me)"
# you can change these
lc="${rc}${bc}${c1}" # labels
nc="${rc}${bc}${c1}" # user and hostname
ic="${rc}${bc}${c7}" # info
fc="${rc}${c1}" # first color
sc="${rc}${bc}${c1}" # second color
lc="${reset}${bold}${red}" # labels
nc="${reset}${bold}${red}" # user and hostname
ic="${reset}${bold}${white}" # info
c0="${reset}${red}" # first color
c1="${reset}${bold}${red}" # second color
## OUTPUT
cat <<EOF
${fc} ${sc}/\\ ${fc}_____ ${sc}/\ ${nc}${USER}${ic}@${nc}${host}${rc}
${fc} ${sc}\_) (_/ ${lc}OS: ${ic}${os}${rc}
${fc} / \ ${lc}KERNEL: ${ic}${kernel}${rc}
${fc} | | ${lc}UPTIME: ${ic}${uptime}${rc}
${fc} | | ${lc}PACKAGES: ${ic}${packages}${rc}
${fc} \ / ${lc}SHELL: ${ic}${shell}${rc}
${fc} --_____-- ${lc}WM: ${ic}${WM}${rc}
${c0} ${c1}/\\ ${c0}_____ ${c1}/\ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} ${c1}\_) (_/ ${lc}OS: ${ic}${os}${reset}
${c0} / \ ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} | | ${lc}UPTIME: ${ic}${uptime}${reset}
${c0} | | ${lc}PACKAGES: ${ic}${packages}${reset}
${c0} \ / ${lc}SHELL: ${ic}${shell}${reset}
${c0} --_____-- ${lc}WM: ${ic}${WM}${reset}
EOF