diff --git a/config.cfg b/config.cfg index f3369b9..a2c8ba6 100644 --- a/config.cfg +++ b/config.cfg @@ -10,6 +10,7 @@ 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) rechargenotif="off" #< Notify that you should recharge if below 15% +updatecheck="on" #< Check for all updates, slows startup a bit flatpakupd="off" #< Check for flatpak updates, this slows startup down A LOT goodgreeting="on" #< Display greetings like "Good afternoon," else "It's afternoon" displaydate="off" #< Unused so far diff --git a/welcome.sh b/welcome.sh index e2aa6ac..ba6ad6e 100755 --- a/welcome.sh +++ b/welcome.sh @@ -210,6 +210,7 @@ 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) rechargenotif="off" #< Notify that you should recharge if below 15% +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" @@ -219,5 +220,5 @@ welcome greeting clock battery -updates +if [ "$updatecheck" = "on" ]; then updates; fi echo # Properly line break at the end