From dfbf80498da3badb97d5653186b87e7819ea5845 Mon Sep 17 00:00:00 2001 From: arcadius3d Date: Wed, 18 Jul 2018 20:04:56 -0300 Subject: [PATCH 1/2] Aligned comments --- ufetch-alpine | 2 +- ufetch-arch | 2 +- ufetch-crux | 2 +- ufetch-debian | 4 ++-- ufetch-fedora | 2 +- ufetch-freebsd | 4 ++-- ufetch-gentoo | 8 ++++---- ufetch-linux | 8 ++++---- ufetch-macos | 4 ++-- ufetch-manjaro | 6 +++--- ufetch-nixos | 2 +- ufetch-openbsd | 8 ++++---- ufetch-void | 8 ++++---- 13 files changed, 30 insertions(+), 30 deletions(-) diff --git a/ufetch-alpine b/ufetch-alpine index 50d6982..4f4b641 100755 --- a/ufetch-alpine +++ b/ufetch-alpine @@ -44,7 +44,7 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}${blue}" # labels nc="${reset}${bold}${blue}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${blue}" # first color c1="${reset}${white}" # second color diff --git a/ufetch-arch b/ufetch-arch index 0bcfa06..1e6ffdf 100755 --- a/ufetch-arch +++ b/ufetch-arch @@ -44,7 +44,7 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}${cyan}" # labels nc="${reset}${bold}${cyan}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${bold}${cyan}" # first color c1="${reset}${cyan}" # second color diff --git a/ufetch-crux b/ufetch-crux index 728489e..77575ad 100755 --- a/ufetch-crux +++ b/ufetch-crux @@ -44,7 +44,7 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}${cyan}" # labels nc="${reset}${bold}${cyan}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${cyan}" # first color c1="${reset}${white}" # second color c2="${reset}${yellow}" # third color diff --git a/ufetch-debian b/ufetch-debian index 5409d88..988a78f 100755 --- a/ufetch-debian +++ b/ufetch-debian @@ -44,9 +44,9 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}${red}" # labels nc="${reset}${bold}${red}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${bold}${red}" # first color -c1="${reset}${red}" # second color +c1="${reset}${red}" # second color ## OUTPUT diff --git a/ufetch-fedora b/ufetch-fedora index 8a42daf..975b558 100755 --- a/ufetch-fedora +++ b/ufetch-fedora @@ -44,7 +44,7 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}${blue}" # labels nc="${reset}${bold}${blue}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${white}" # first color ## OUTPUT diff --git a/ufetch-freebsd b/ufetch-freebsd index a0c12c7..615efad 100755 --- a/ufetch-freebsd +++ b/ufetch-freebsd @@ -44,9 +44,9 @@ reset="$(tput me)" # you can change these lc="${reset}${bold}${red}" # labels nc="${reset}${bold}${red}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${bold}${red}" # first color -c1="${reset}${red}" # second color +c1="${reset}${red}" # second color ## OUTPUT diff --git a/ufetch-gentoo b/ufetch-gentoo index edcd2ed..8e1dae1 100755 --- a/ufetch-gentoo +++ b/ufetch-gentoo @@ -42,10 +42,10 @@ white="$(tput setaf 7)" reset="$(tput sgr0)" # 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}${magenta}" # labels +nc="${reset}${bold}${magenta}" # user and hostname +ic="${reset}${bold}${white}" # info +c0="${reset}${bold}${magenta}" # first color c1="${reset}${magenta}" # second color ## OUTPUT diff --git a/ufetch-linux b/ufetch-linux index 05c936b..e8361fd 100755 --- a/ufetch-linux +++ b/ufetch-linux @@ -41,10 +41,10 @@ white="$(tput setaf 7)" reset="$(tput sgr0)" # 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}${black}" # labels +nc="${reset}${bold}${black}" # user and hostname +ic="${reset}${bold}${white}" # info +c0="${reset}${bold}${black}" # first color c1="${reset}${white}" # second color c2="${reset}${yellow}" # third color diff --git a/ufetch-macos b/ufetch-macos index ba21ee7..95a5773 100755 --- a/ufetch-macos +++ b/ufetch-macos @@ -43,8 +43,8 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}" # labels nc="${reset}${bold}" # user and hostname -ic="${reset}" # info -c0="${reset}" # first color +ic="${reset}" # info +c0="${reset}" # first color ## OUTPUT diff --git a/ufetch-manjaro b/ufetch-manjaro index a9e7060..9938643 100755 --- a/ufetch-manjaro +++ b/ufetch-manjaro @@ -42,9 +42,9 @@ white="$(tput setaf 7)" reset="$(tput sgr0)" # you can change these -lc="${reset}${bold}${green}" # labels -nc="${reset}${bold}${green}" # user and hostname -ic="${reset}${bold}${white}" # info +lc="${reset}${bold}${green}" # labels +nc="${reset}${bold}${green}" # user and hostname +ic="${reset}${bold}${white}" # info c0="${reset}${green}" # first color ## OUTPUT diff --git a/ufetch-nixos b/ufetch-nixos index 63b4576..9446ba8 100755 --- a/ufetch-nixos +++ b/ufetch-nixos @@ -44,7 +44,7 @@ reset="$(tput sgr0)" # you can change these lc="${reset}${bold}${blue}" # labels nc="${reset}${bold}${blue}" # user and hostname -ic="${reset}${bold}${white}" # info +ic="${reset}${bold}${white}" # info c0="${reset}${blue}" # first color c1="${reset}${bold}${blue}" # second color diff --git a/ufetch-openbsd b/ufetch-openbsd index cc24245..e02bf16 100755 --- a/ufetch-openbsd +++ b/ufetch-openbsd @@ -42,12 +42,12 @@ white="$(tput setaf 7)" reset="$(tput sgr0)" # you can change these -lc="${reset}${bold}${yellow}" # labels -nc="${reset}${bold}${yellow}" # user and hostname -ic="${reset}${bold}${white}" # info +lc="${reset}${bold}${yellow}" # labels +nc="${reset}${bold}${yellow}" # user and hostname +ic="${reset}${bold}${white}" # info c0="${reset}${yellow}" # first color c1="${reset}${white}" # second color -c2="${reset}${bold}${yellow}" # third color +c2="${reset}${bold}${yellow}" # third color ## OUTPUT diff --git a/ufetch-void b/ufetch-void index a2ea5e4..66c5f76 100755 --- a/ufetch-void +++ b/ufetch-void @@ -42,10 +42,10 @@ white="$(tput setaf 7)" reset="$(tput sgr0)" # 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 +lc="${reset}${bold}${green}" # labels +nc="${reset}${bold}${green}" # user and hostname +ic="${reset}${bold}${white}" # info +c0="${reset}${bold}${green}" # first color c1="${reset}${green}" # second color ## OUTPUT From 68f11585acf6413e61a37e481fe96df79acc300e Mon Sep 17 00:00:00 2001 From: arcadius3d Date: Wed, 18 Jul 2018 20:19:43 -0300 Subject: [PATCH 2/2] Fallback to colorless mode when tput is not installed --- ufetch-alpine | 22 ++++++++++++---------- ufetch-arch | 22 ++++++++++++---------- ufetch-crux | 22 ++++++++++++---------- ufetch-debian | 22 ++++++++++++---------- ufetch-fedora | 22 ++++++++++++---------- ufetch-freebsd | 22 ++++++++++++---------- ufetch-gentoo | 22 ++++++++++++---------- ufetch-linux | 22 ++++++++++++---------- ufetch-macos | 28 +++++++++++++++------------- ufetch-manjaro | 22 ++++++++++++---------- ufetch-nixos | 22 ++++++++++++---------- ufetch-openbsd | 22 ++++++++++++---------- ufetch-raspbian | 22 ++++++++++++---------- ufetch-void | 22 ++++++++++++---------- 14 files changed, 171 insertions(+), 143 deletions(-) diff --git a/ufetch-alpine b/ufetch-alpine index 4f4b641..a8b7161 100755 --- a/ufetch-alpine +++ b/ufetch-alpine @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${blue}" # labels diff --git a/ufetch-arch b/ufetch-arch index 1e6ffdf..fdd4481 100755 --- a/ufetch-arch +++ b/ufetch-arch @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${cyan}" # labels diff --git a/ufetch-crux b/ufetch-crux index 77575ad..3c8a6ba 100755 --- a/ufetch-crux +++ b/ufetch-crux @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${cyan}" # labels diff --git a/ufetch-debian b/ufetch-debian index 988a78f..b838267 100755 --- a/ufetch-debian +++ b/ufetch-debian @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${red}" # labels diff --git a/ufetch-fedora b/ufetch-fedora index 975b558..54aa68e 100755 --- a/ufetch-fedora +++ b/ufetch-fedora @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${blue}" # labels diff --git a/ufetch-freebsd b/ufetch-freebsd index 615efad..cd3ebc1 100755 --- a/ufetch-freebsd +++ b/ufetch-freebsd @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -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)" +if [ -x "$(command -v tput)" ]; then + 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)" +fi # you can change these lc="${reset}${bold}${red}" # labels diff --git a/ufetch-gentoo b/ufetch-gentoo index 8e1dae1..1a47af9 100755 --- a/ufetch-gentoo +++ b/ufetch-gentoo @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${magenta}" # labels diff --git a/ufetch-linux b/ufetch-linux index e8361fd..7e92a25 100755 --- a/ufetch-linux +++ b/ufetch-linux @@ -29,16 +29,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${black}" # labels diff --git a/ufetch-macos b/ufetch-macos index 95a5773..5b5078b 100755 --- a/ufetch-macos +++ b/ufetch-macos @@ -9,13 +9,13 @@ host="$(hostname)" os="$(sw_vers -productName) $(sw_vers -productVersion)" kernel="$(uname -sr)" uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')" -if command -v pkgin &> /dev/null; then +if [ -x "$(command -v pkgin)" ]; then packages="$(pkgin list | wc -l)" -elif command -v brew &> /dev/null; then +elif [ -x "$(command -v brew)" ]; then brew_packages="$(brew list | wc -l)" cask_packages="$(brew cask list 2> /dev/null | wc -l)" packages="$(( ${brew_packages} + ${cask_packages} ))" -elif command -v port &> /dev/null; then +elif [ -x "$(command -v port)" ]; then packages="$(port installed | wc -l)" else packages='no package manager' @@ -29,16 +29,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}" # labels diff --git a/ufetch-manjaro b/ufetch-manjaro index 9938643..5cd780a 100755 --- a/ufetch-manjaro +++ b/ufetch-manjaro @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${green}" # labels diff --git a/ufetch-nixos b/ufetch-nixos index 9446ba8..d04a61e 100755 --- a/ufetch-nixos +++ b/ufetch-nixos @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${blue}" # labels diff --git a/ufetch-openbsd b/ufetch-openbsd index e02bf16..3c61e62 100755 --- a/ufetch-openbsd +++ b/ufetch-openbsd @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${yellow}" # labels diff --git a/ufetch-raspbian b/ufetch-raspbian index 050d2f9..8e6139e 100755 --- a/ufetch-raspbian +++ b/ufetch-raspbian @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${red}" # labels diff --git a/ufetch-void b/ufetch-void index 66c5f76..19cc6f4 100755 --- a/ufetch-void +++ b/ufetch-void @@ -30,16 +30,18 @@ fi ## DEFINE COLORS # probably don't change these -bold="$(tput bold)" -black="$(tput setaf 0)" -red="$(tput setaf 1)" -green="$(tput setaf 2)" -yellow="$(tput setaf 3)" -blue="$(tput setaf 4)" -magenta="$(tput setaf 5)" -cyan="$(tput setaf 6)" -white="$(tput setaf 7)" -reset="$(tput sgr0)" +if [ -x "$(command -v tput)" ]; then + bold="$(tput bold)" + black="$(tput setaf 0)" + red="$(tput setaf 1)" + green="$(tput setaf 2)" + yellow="$(tput setaf 3)" + blue="$(tput setaf 4)" + magenta="$(tput setaf 5)" + cyan="$(tput setaf 6)" + white="$(tput setaf 7)" + reset="$(tput sgr0)" +fi # you can change these lc="${reset}${bold}${green}" # labels