mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-09-30 13:32:32 +07:00
Consistency fixes. All info text is now the default terminal color
(works better with light themes)
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
+3
-3
@@ -56,9 +56,9 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
c1="${reset}${bold}${white}" # second color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
c1="${reset}${white}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
@@ -68,7 +68,7 @@ ${c0} / \\ ${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}${uitype}: ${ic}${ui}${reset}
|
||||
${c0} / / -----\\ \\ ${lc}SHELL: ${ic}${shell}${reset}
|
||||
${c0} /_/ \`\`\`\`-.\\_\\ ${lc}${uitype}: ${ic}${ui}${reset}
|
||||
|
||||
EOF
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+7
-7
@@ -54,13 +54,13 @@ if [ -x "$(command -v tput)" ]; then
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
lc="${reset}${bold}${magenta}" # labels
|
||||
nc="${reset}${bold}${magenta}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${green}" # first color
|
||||
c1="${reset}${bold}${yellow}" # second color
|
||||
c2="${reset}${bold}${magenta}" # third color
|
||||
c3="${reset}${bold}${blue}" # fourth color
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${green}" # first color
|
||||
c1="${reset}${yellow}" # second color
|
||||
c2="${reset}${magenta}" # third color
|
||||
c3="${reset}${blue}" # fourth color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${cyan}" # labels
|
||||
nc="${reset}${bold}${cyan}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${cyan}" # first color
|
||||
c1="${reset}${white}" # second color
|
||||
c2="${reset}${yellow}" # third color
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${red}" # labels
|
||||
nc="${reset}${bold}${red}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${bold}${red}" # first color
|
||||
c1="${reset}${red}" # second color
|
||||
|
||||
|
||||
+4
-4
@@ -56,16 +56,16 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${white}" # first color
|
||||
c1="${reset}${white}" # second color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
c1="${reset}${blue}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
cat <<EOF
|
||||
|
||||
${c1} _______ ${nc}${USER}${ic}@${nc}${host}${reset}
|
||||
${c1} / ${c0}____ ${c1}\\ ${lc}OS: ${ic}${os}${reset}
|
||||
${c1} / ${c0}___ ${c1}\\ ${lc}OS: ${ic}${os}${reset}
|
||||
${c1} / ${c0}| / /${c1}\\ ${lc}KERNEL: ${ic}${kernel}${reset}
|
||||
${c1} |${c0}__\\ / /${c1} | ${lc}UPTIME: ${ic}${uptime}${reset}
|
||||
${c1} \\ ${c0}/__/${c1} / ${lc}PACKAGES: ${ic}${packages}${reset}
|
||||
|
||||
+3
-3
@@ -56,9 +56,9 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${white}" # first color
|
||||
c1="${reset}${bold}${cyan}" # second color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${white}" # first color
|
||||
c1="${reset}${blue}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${red}" # labels
|
||||
nc="${reset}${bold}${red}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${bold}${red}" # first color
|
||||
c1="${reset}${red}" # second color
|
||||
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${magenta}" # labels
|
||||
nc="${reset}${bold}${magenta}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${bold}${magenta}" # first color
|
||||
c1="${reset}${magenta}" # second color
|
||||
|
||||
|
||||
+3
-3
@@ -56,9 +56,9 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${blue}" # first color
|
||||
c1="${reset}${bold}${white}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
c1="${reset}${white}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${yellow}" # labels
|
||||
nc="${reset}${bold}${yellow}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${yellow}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${yellow}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${white}" # labels
|
||||
nc="${reset}${bold}${white}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${white}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${white}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+4
-4
@@ -54,10 +54,10 @@ if [ -x "$(command -v tput)" ]; then
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
lc="${reset}${bold}${black}" # labels
|
||||
nc="${reset}${bold}${black}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${black}" # first color
|
||||
lc="${reset}${bold}" # labels
|
||||
nc="${reset}${bold}" # user and hostname
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${black}" # first color
|
||||
c1="${reset}${white}" # second color
|
||||
c2="${reset}${yellow}" # third color
|
||||
|
||||
|
||||
+3
-3
@@ -56,9 +56,9 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${yellow}" # labels
|
||||
nc="${reset}${bold}${yellow}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${yellow}" # first color
|
||||
c1="${reset}${bold}${white}" # second color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${yellow}" # first color
|
||||
c1="${reset}${white}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+5
-5
@@ -54,11 +54,11 @@ if [ -x "$(command -v tput)" ]; then
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${white}" # first color
|
||||
c1="${reset}${bold}${cyan}" # second color
|
||||
lc="${reset}${bold}${cyan}" # labels
|
||||
nc="${reset}${bold}${cyan}" # user and hostname
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${white}" # first color
|
||||
c1="${reset}${cyan}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${green}" # labels
|
||||
nc="${reset}${bold}${green}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${green}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${green}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+9
-9
@@ -56,21 +56,21 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${green}" # labels
|
||||
nc="${reset}${bold}${green}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${green}" # first color
|
||||
c1="${reset}${bold}${white}" # second color
|
||||
c1="${reset}${white}" # second color
|
||||
c2="${reset}${bold}${green}" # third color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
cat <<EOF
|
||||
|
||||
${c0} ___________ ${nc}${USER}${ic}@${nc}${host}${reset}
|
||||
${c0} |_ \\ ${lc}OS: ${ic}${os}${reset}
|
||||
${c0} | ${c1}| _____ ${c0}| ${lc}KERNEL: ${ic}${kernel}${reset}
|
||||
${c0} | ${c1}| | | | ${c0}| ${lc}UPTIME: ${ic}${uptime}${reset}
|
||||
${c0} | ${c1}| | | | ${c0}| ${lc}PACKAGES: ${ic}${packages}${reset}
|
||||
${c0} | ${c1}\\__${c2}___/ ${c0}| ${lc}SHELL: ${ic}${shell}${reset}
|
||||
${c0} \\_________/ ${lc}${uitype}: ${ic}${ui}${reset}
|
||||
${c0} _____________ ${nc}${USER}${ic}@${nc}${host}${reset}
|
||||
${c0} |_ \\ ${lc}OS: ${ic}${os}${reset}
|
||||
${c0} | ${c1}| _____ ${c0}| ${lc}KERNEL: ${ic}${kernel}${reset}
|
||||
${c0} | ${c1}| | | | ${c0}| ${lc}UPTIME: ${ic}${uptime}${reset}
|
||||
${c0} | ${c1}| | | | ${c0}| ${lc}PACKAGES: ${ic}${packages}${reset}
|
||||
${c0} | ${c1}\\__${c2}___/ ${c0}| ${lc}SHELL: ${ic}${shell}${reset}
|
||||
${c0} \\___________/ ${lc}${uitype}: ${ic}${ui}${reset}
|
||||
|
||||
EOF
|
||||
|
||||
@@ -54,10 +54,10 @@ if [ -x "$(command -v tput)" ]; then
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
lc="${reset}${bold}${white}" # labels
|
||||
nc="${reset}${bold}${white}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${white}" # first color
|
||||
lc="${reset}${bold}" # labels
|
||||
nc="${reset}${bold}" # user and hostname
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${white}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${yellow}" # labels
|
||||
nc="${reset}${bold}${yellow}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${white}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}" # first color
|
||||
c1="${reset}${yellow}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
c1="${reset}${bold}${blue}" # second color
|
||||
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${yellow}" # labels
|
||||
nc="${reset}${bold}${yellow}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${yellow}" # first color
|
||||
c1="${reset}${white}" # second color
|
||||
c2="${reset}${bold}${yellow}" # third color
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${magenta}" # labels
|
||||
nc="${reset}${bold}${magenta}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${magenta}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${magenta}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${cyan}" # labels
|
||||
nc="${reset}${bold}${cyan}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${cyan}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${cyan}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${white}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+3
-3
@@ -56,9 +56,9 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${red}" # labels
|
||||
nc="${reset}${bold}${red}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${green}" # first color
|
||||
c1="${reset}${bold}${red}" # second color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${green}" # first color
|
||||
c1="${reset}${red}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+4
-4
@@ -54,10 +54,10 @@ if [ -x "$(command -v tput)" ]; then
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
lc="${reset}${bold}${magenta}" # labels
|
||||
nc="${reset}${bold}${magenta}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${magenta}" # first color
|
||||
lc="${reset}${bold}${blue}" # labels
|
||||
nc="${reset}${bold}${blue}" # user and hostname
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${blue}" # first color
|
||||
|
||||
cat <<EOF
|
||||
|
||||
|
||||
+10
-9
@@ -56,19 +56,20 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${green}" # labels
|
||||
nc="${reset}${bold}${green}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${green}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${green}" # first color
|
||||
c1="${reset}" # second color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
cat <<EOF
|
||||
|
||||
${c0} _______ ${nc}${USER}${ic}@${nc}${host}${reset}
|
||||
${c0} __| __ \\ ${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}${uitype}: ${ic}${ui}${reset}
|
||||
${c0} _______ ${nc}${USER}${ic}@${nc}${host}${reset}
|
||||
${c0} -___| __ \\ ${lc}OS: ${ic}${os}${reset}
|
||||
${c0} / ${c1}.${c0}\\ \\ ${lc}KERNEL: ${ic}${kernel}${reset}
|
||||
${c0} \\__/ ${c0}| ${lc}UPTIME: ${ic}${uptime}${reset}
|
||||
${c0} _______| ${lc}PACKAGES: ${ic}${packages}${reset}
|
||||
${c0} \\_______ ${lc}SHELL: ${ic}${shell}${reset}
|
||||
${c0} --__________/ ${lc}${uitype}: ${ic}${ui}${reset}
|
||||
|
||||
EOF
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${yellow}" # labels
|
||||
nc="${reset}${bold}${yellow}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${yellow}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${yellow}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${green}" # labels
|
||||
nc="${reset}${bold}${green}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${bold}${green}" # first color
|
||||
c1="${reset}${green}" # second color
|
||||
|
||||
|
||||
+2
-2
@@ -56,8 +56,8 @@ fi
|
||||
# you can change these
|
||||
lc="${reset}${bold}${yellow}" # labels
|
||||
nc="${reset}${bold}${yellow}" # user and hostname
|
||||
ic="${reset}${bold}${white}" # info
|
||||
c0="${reset}${bold}${yellow}" # first color
|
||||
ic="${reset}" # info
|
||||
c0="${reset}${yellow}" # first color
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user