mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-11-06 15:50:53 +00:00
Suppress tput error output
This commit is contained in:
1 parent
26ead3322b
commit
e539253c6c
37 files changed
+362
-362
No files matched your search
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+2
-2
@@ -20,8 +20,8 @@ uitype='UI'
|
|||||||
## DEFINE COLORS
|
## DEFINE COLORS
|
||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
bold=`tput bold`
|
bold=`tput bold 2> /dev/null`
|
||||||
reset=`tput sgr0`
|
reset=`tput sgr0 2> /dev/null`
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
lc="${reset}${bold}" # labels
|
lc="${reset}${bold}" # labels
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput md)"
|
bold="$(tput md 2> /dev/null)"
|
||||||
black="$(tput AF 0)"
|
black="$(tput AF 0 2> /dev/null)"
|
||||||
red="$(tput AF 1)"
|
red="$(tput AF 1 2> /dev/null)"
|
||||||
green="$(tput AF 2)"
|
green="$(tput AF 2 2> /dev/null)"
|
||||||
yellow="$(tput AF 3)"
|
yellow="$(tput AF 3 2> /dev/null)"
|
||||||
blue="$(tput AF 4)"
|
blue="$(tput AF 4 2> /dev/null)"
|
||||||
magenta="$(tput AF 5)"
|
magenta="$(tput AF 5 2> /dev/null)"
|
||||||
cyan="$(tput AF 6)"
|
cyan="$(tput AF 6 2> /dev/null)"
|
||||||
white="$(tput AF 7)"
|
white="$(tput AF 7 2> /dev/null)"
|
||||||
reset="$(tput me)"
|
reset="$(tput me 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -48,16 +48,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0 0 0 2>/dev/null)"
|
black="$(tput setaf 0 2> /dev/null 0 0 2>/dev/null)"
|
||||||
red="$(tput setaf 1 0 0 2>/dev/null)"
|
red="$(tput setaf 1 2> /dev/null 0 0 2>/dev/null)"
|
||||||
green="$(tput setaf 2 0 0 2>/dev/null)"
|
green="$(tput setaf 2 2> /dev/null 0 0 2>/dev/null)"
|
||||||
yellow="$(tput setaf 3 0 0 2>/dev/null)"
|
yellow="$(tput setaf 3 2> /dev/null 0 0 2>/dev/null)"
|
||||||
blue="$(tput setaf 4 0 0 2>/dev/null)"
|
blue="$(tput setaf 4 2> /dev/null 0 0 2>/dev/null)"
|
||||||
magenta="$(tput setaf 5 0 0 2>/dev/null)"
|
magenta="$(tput setaf 5 2> /dev/null 0 0 2>/dev/null)"
|
||||||
cyan="$(tput setaf 6 0 0 2>/dev/null)"
|
cyan="$(tput setaf 6 2> /dev/null 0 0 2>/dev/null)"
|
||||||
white="$(tput setaf 7 0 0 2>/dev/null)"
|
white="$(tput setaf 7 2> /dev/null 0 0 2>/dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
+10
-10
@@ -50,16 +50,16 @@ ui="$(basename "${ui}")"
|
|||||||
|
|
||||||
# probably don't change these
|
# probably don't change these
|
||||||
if [ -x "$(command -v tput)" ]; then
|
if [ -x "$(command -v tput)" ]; then
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold 2> /dev/null)"
|
||||||
black="$(tput setaf 0)"
|
black="$(tput setaf 0 2> /dev/null)"
|
||||||
red="$(tput setaf 1)"
|
red="$(tput setaf 1 2> /dev/null)"
|
||||||
green="$(tput setaf 2)"
|
green="$(tput setaf 2 2> /dev/null)"
|
||||||
yellow="$(tput setaf 3)"
|
yellow="$(tput setaf 3 2> /dev/null)"
|
||||||
blue="$(tput setaf 4)"
|
blue="$(tput setaf 4 2> /dev/null)"
|
||||||
magenta="$(tput setaf 5)"
|
magenta="$(tput setaf 5 2> /dev/null)"
|
||||||
cyan="$(tput setaf 6)"
|
cyan="$(tput setaf 6 2> /dev/null)"
|
||||||
white="$(tput setaf 7)"
|
white="$(tput setaf 7 2> /dev/null)"
|
||||||
reset="$(tput sgr0)"
|
reset="$(tput sgr0 2> /dev/null)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# you can change these
|
# you can change these
|
||||||
|
|||||||
Reference in new issue
Block a user