mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-14 08:48:03 -05:00
Switched to printf in errorOut and verboseOut. This may be the start of a big echo->printf move.
This commit is contained in:
@@ -70,11 +70,11 @@ shotfile=$(echo "screenFetch-`date +'%Y-%m-%d_%H-%M-%S'`.png")
|
||||
verbosity=
|
||||
|
||||
function verboseOut {
|
||||
echo -e "\033[1;31m:: \033[0m$1"
|
||||
printf "\033[1;31m:: \033[0m$1\n"
|
||||
}
|
||||
|
||||
function errorOut {
|
||||
echo -e "\033[1;37m[[ \033[1;31m! \033[1;37m]] \033[0m$1"
|
||||
printf "\033[1;37m[[ \033[1;31m! \033[1;37m]] \033[0m$1\n"
|
||||
}
|
||||
|
||||
#############################################
|
||||
|
||||
Reference in New Issue
Block a user