From 6265b2f27c24748c300c0ec37e0cc60b35cf9dca Mon Sep 17 00:00:00 2001 From: G2 <72430668+G2-Games@users.noreply.github.com> Date: Wed, 28 Sep 2022 14:30:41 -0500 Subject: [PATCH] Close #3, printf error on non "en_US.UTF-8" --- welcome.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/welcome.sh b/welcome.sh index 66a1194..e011bdb 100755 --- a/welcome.sh +++ b/welcome.sh @@ -198,14 +198,6 @@ MORN='\e[38;2;255;164;74m' AFTN='\e[38;2;250;245;110m' EVEN='\e[38;2;171;54;3m' -#==================SETUP=================# -# Select which parts you want active by # -# commenting them out. For example, on a # -# desktop, disabling the battery message # -# is a good idea. You can also re-order # -# them to change how they display! # -#========================================# - greetings=("Welcome" "Greetings" "Hello" "Hi") # Add your own greetings! randgreeting="off" #< Turn the random greetings on (eg. "Hello , Hi ") twelvehour="on" #< Switch between 12 and 24 hour time (eg. 8:00 PM vs 20:00) @@ -214,6 +206,7 @@ updatecheck="on" #< Check for general updates flatpakupd="off" #< Check for flatpak updates, this slows startup down A LOT goodgreeting="on" #< Display greetings like "Good afternoon," else "It's afternoon" +export LC_NUMERIC="en_US.UTF-8" #Fix for locales that use , instead of . as a delimiter source ~/.welcome/config.cfg welcome