From e539253c6c7fb7b582cd2a6ec758797b0a052ea3 Mon Sep 17 00:00:00 2001 From: jschx Date: Mon, 5 Dec 2022 14:12:10 -0600 Subject: [PATCH] Suppress tput error output --- ufetch-antergos | 20 ++++++++++---------- ufetch-arch | 20 ++++++++++---------- ufetch-archbang | 20 ++++++++++---------- ufetch-arco | 20 ++++++++++---------- ufetch-artix | 20 ++++++++++---------- ufetch-aux | 4 ++-- ufetch-centos | 20 ++++++++++---------- ufetch-crux | 20 ++++++++++---------- ufetch-debian | 20 ++++++++++---------- ufetch-devuan | 20 ++++++++++---------- ufetch-elementary | 20 ++++++++++---------- ufetch-fedora | 20 ++++++++++---------- ufetch-freebsd | 20 ++++++++++---------- ufetch-gentoo | 20 ++++++++++---------- ufetch-gnewsense | 20 ++++++++++---------- ufetch-guix | 20 ++++++++++---------- ufetch-hyperbola | 20 ++++++++++---------- ufetch-instantos | 20 ++++++++++---------- ufetch-linux | 20 ++++++++++---------- ufetch-linuxlite | 20 ++++++++++---------- ufetch-macos | 20 ++++++++++---------- ufetch-mageia | 20 ++++++++++---------- ufetch-manjaro | 20 ++++++++++---------- ufetch-mint | 20 ++++++++++---------- ufetch-mx | 20 ++++++++++---------- ufetch-netbsd | 20 ++++++++++---------- ufetch-nixos | 20 ++++++++++---------- ufetch-openbsd | 20 ++++++++++---------- ufetch-parabola | 20 ++++++++++---------- ufetch-popos | 20 ++++++++++---------- ufetch-pureos | 20 ++++++++++---------- ufetch-raspberrypios | 20 ++++++++++---------- ufetch-slackware | 20 ++++++++++---------- ufetch-suse | 20 ++++++++++---------- ufetch-ubuntu | 20 ++++++++++---------- ufetch-void | 20 ++++++++++---------- ufetch-voyager | 20 ++++++++++---------- 37 files changed, 362 insertions(+), 362 deletions(-) diff --git a/ufetch-antergos b/ufetch-antergos index 3ee06a7..c2e1c97 100755 --- a/ufetch-antergos +++ b/ufetch-antergos @@ -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 diff --git a/ufetch-arch b/ufetch-arch index eb29af3..fe08834 100755 --- a/ufetch-arch +++ b/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 diff --git a/ufetch-archbang b/ufetch-archbang index 1c6f460..b187d6a 100755 --- a/ufetch-archbang +++ b/ufetch-archbang @@ -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 diff --git a/ufetch-arco b/ufetch-arco index 4d5a17f..167913c 100755 --- a/ufetch-arco +++ b/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 diff --git a/ufetch-artix b/ufetch-artix index d968cff..8676236 100755 --- a/ufetch-artix +++ b/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 diff --git a/ufetch-aux b/ufetch-aux index 57f1eef..5d9cd71 100755 --- a/ufetch-aux +++ b/ufetch-aux @@ -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 diff --git a/ufetch-centos b/ufetch-centos index 47c35ed..d6fe2d1 100755 --- a/ufetch-centos +++ b/ufetch-centos @@ -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 diff --git a/ufetch-crux b/ufetch-crux index 6783ccb..5400f22 100755 --- a/ufetch-crux +++ b/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 diff --git a/ufetch-debian b/ufetch-debian index 7b6393e..0e45a78 100755 --- a/ufetch-debian +++ b/ufetch-debian @@ -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 diff --git a/ufetch-devuan b/ufetch-devuan index 9e5b998..65a6cd2 100755 --- a/ufetch-devuan +++ b/ufetch-devuan @@ -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 diff --git a/ufetch-elementary b/ufetch-elementary index eedaa76..dd46df9 100755 --- a/ufetch-elementary +++ b/ufetch-elementary @@ -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 diff --git a/ufetch-fedora b/ufetch-fedora index e7993e1..85cc98b 100755 --- a/ufetch-fedora +++ b/ufetch-fedora @@ -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 diff --git a/ufetch-freebsd b/ufetch-freebsd index 19701d9..acdf7f2 100755 --- a/ufetch-freebsd +++ b/ufetch-freebsd @@ -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 diff --git a/ufetch-gentoo b/ufetch-gentoo index baf7a84..16edab6 100755 --- a/ufetch-gentoo +++ b/ufetch-gentoo @@ -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 diff --git a/ufetch-gnewsense b/ufetch-gnewsense index 52c78e4..480ec25 100755 --- a/ufetch-gnewsense +++ b/ufetch-gnewsense @@ -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 diff --git a/ufetch-guix b/ufetch-guix index 06abb0e..63055bb 100755 --- a/ufetch-guix +++ b/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 diff --git a/ufetch-hyperbola b/ufetch-hyperbola index a94b303..9b85b30 100755 --- a/ufetch-hyperbola +++ b/ufetch-hyperbola @@ -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 diff --git a/ufetch-instantos b/ufetch-instantos index 9e43e52..60d1a7c 100755 --- a/ufetch-instantos +++ b/ufetch-instantos @@ -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 diff --git a/ufetch-linux b/ufetch-linux index dab7533..dc48afa 100755 --- a/ufetch-linux +++ b/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 diff --git a/ufetch-linuxlite b/ufetch-linuxlite index 366bb99..e6d466c 100755 --- a/ufetch-linuxlite +++ b/ufetch-linuxlite @@ -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 diff --git a/ufetch-macos b/ufetch-macos index 365fb2e..70bb8d0 100755 --- a/ufetch-macos +++ b/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 diff --git a/ufetch-mageia b/ufetch-mageia index 6f6f355..8f1837f 100755 --- a/ufetch-mageia +++ b/ufetch-mageia @@ -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 diff --git a/ufetch-manjaro b/ufetch-manjaro index 790dec8..61749cd 100755 --- a/ufetch-manjaro +++ b/ufetch-manjaro @@ -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 diff --git a/ufetch-mint b/ufetch-mint index c966960..ae194dd 100755 --- a/ufetch-mint +++ b/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 diff --git a/ufetch-mx b/ufetch-mx index bcd492f..30012eb 100755 --- a/ufetch-mx +++ b/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 diff --git a/ufetch-netbsd b/ufetch-netbsd index 3f9d728..824fced 100755 --- a/ufetch-netbsd +++ b/ufetch-netbsd @@ -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 diff --git a/ufetch-nixos b/ufetch-nixos index bb06a03..2ca8f9d 100755 --- a/ufetch-nixos +++ b/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 diff --git a/ufetch-openbsd b/ufetch-openbsd index fd3d8df..a4b8c0a 100755 --- a/ufetch-openbsd +++ b/ufetch-openbsd @@ -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 diff --git a/ufetch-parabola b/ufetch-parabola index 0e663c4..884cb1d 100755 --- a/ufetch-parabola +++ b/ufetch-parabola @@ -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 diff --git a/ufetch-popos b/ufetch-popos index bd61bee..0518f94 100755 --- a/ufetch-popos +++ b/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 diff --git a/ufetch-pureos b/ufetch-pureos index ba1829c..50c4a7b 100755 --- a/ufetch-pureos +++ b/ufetch-pureos @@ -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 diff --git a/ufetch-raspberrypios b/ufetch-raspberrypios index 96e510b..3123ca4 100755 --- a/ufetch-raspberrypios +++ b/ufetch-raspberrypios @@ -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 diff --git a/ufetch-slackware b/ufetch-slackware index 8a537db..b4ec7c9 100755 --- a/ufetch-slackware +++ b/ufetch-slackware @@ -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 diff --git a/ufetch-suse b/ufetch-suse index e7d4518..1ef2c65 100755 --- a/ufetch-suse +++ b/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 diff --git a/ufetch-ubuntu b/ufetch-ubuntu index 199d654..1bba6d2 100755 --- a/ufetch-ubuntu +++ b/ufetch-ubuntu @@ -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 diff --git a/ufetch-void b/ufetch-void index ededfa6..ba7cf84 100755 --- a/ufetch-void +++ b/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 diff --git a/ufetch-voyager b/ufetch-voyager index 5bfef7f..e4e410c 100755 --- a/ufetch-voyager +++ b/ufetch-voyager @@ -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