Suppress tput error output
This commit is contained in:
parent
26ead3322b
commit
e539253c6c
37 changed files with 362 additions and 362 deletions
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-arch
20
ufetch-arch
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-arco
20
ufetch-arco
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-artix
20
ufetch-artix
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -20,8 +20,8 @@ uitype='UI'
|
|||
## DEFINE COLORS
|
||||
|
||||
# probably don't change these
|
||||
bold=`tput bold`
|
||||
reset=`tput sgr0`
|
||||
bold=`tput bold 2> /dev/null`
|
||||
reset=`tput sgr0 2> /dev/null`
|
||||
|
||||
# you can change these
|
||||
lc="${reset}${bold}" # labels
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-crux
20
ufetch-crux
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput md 2> /dev/null)"
|
||||
black="$(tput AF 0 2> /dev/null)"
|
||||
red="$(tput AF 1 2> /dev/null)"
|
||||
green="$(tput AF 2 2> /dev/null)"
|
||||
yellow="$(tput AF 3 2> /dev/null)"
|
||||
blue="$(tput AF 4 2> /dev/null)"
|
||||
magenta="$(tput AF 5 2> /dev/null)"
|
||||
cyan="$(tput AF 6 2> /dev/null)"
|
||||
white="$(tput AF 7 2> /dev/null)"
|
||||
reset="$(tput me 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-guix
20
ufetch-guix
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-linux
20
ufetch-linux
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-macos
20
ufetch-macos
|
@ -48,16 +48,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-mint
20
ufetch-mint
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-mx
20
ufetch-mx
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-nixos
20
ufetch-nixos
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
if [ -x "$(command -v tput)" ]; then
|
||||
bold="$(tput bold)"
|
||||
black="$(tput setaf 0 0 0 2>/dev/null)"
|
||||
red="$(tput setaf 1 0 0 2>/dev/null)"
|
||||
green="$(tput setaf 2 0 0 2>/dev/null)"
|
||||
yellow="$(tput setaf 3 0 0 2>/dev/null)"
|
||||
blue="$(tput setaf 4 0 0 2>/dev/null)"
|
||||
magenta="$(tput setaf 5 0 0 2>/dev/null)"
|
||||
cyan="$(tput setaf 6 0 0 2>/dev/null)"
|
||||
white="$(tput setaf 7 0 0 2>/dev/null)"
|
||||
reset="$(tput sgr0)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null 0 0 2>/dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null 0 0 2>/dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null 0 0 2>/dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null 0 0 2>/dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null 0 0 2>/dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null 0 0 2>/dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null 0 0 2>/dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null 0 0 2>/dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-popos
20
ufetch-popos
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-suse
20
ufetch-suse
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
20
ufetch-void
20
ufetch-void
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
|
@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||
|
||||
# probably don't change these
|
||||
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)"
|
||||
bold="$(tput bold 2> /dev/null)"
|
||||
black="$(tput setaf 0 2> /dev/null)"
|
||||
red="$(tput setaf 1 2> /dev/null)"
|
||||
green="$(tput setaf 2 2> /dev/null)"
|
||||
yellow="$(tput setaf 3 2> /dev/null)"
|
||||
blue="$(tput setaf 4 2> /dev/null)"
|
||||
magenta="$(tput setaf 5 2> /dev/null)"
|
||||
cyan="$(tput setaf 6 2> /dev/null)"
|
||||
white="$(tput setaf 7 2> /dev/null)"
|
||||
reset="$(tput sgr0 2> /dev/null)"
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue