From 3d293d9b08eead9014cf8a419044cdb0ec13f44c Mon Sep 17 00:00:00 2001 From: G2-Games Date: Tue, 6 Sep 2022 00:29:17 -0500 Subject: [PATCH] bugfixes --- welcome.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/welcome.sh b/welcome.sh index 92f6454..96ce728 100755 --- a/welcome.sh +++ b/welcome.sh @@ -14,7 +14,7 @@ welcome () { clock () { # Set the current hour and minute if [ "$twelvehour" = "on" ]; then - if [ $hour -lt 10 ]; then + if [ $(date +%_I) -lt 10 ]; then hour="\b$(date +%_I)" else hour="$(date +%_I)" @@ -186,5 +186,8 @@ rechargenotif="off" #< Notify that you should recharge if below 15% flatpakupd="off" #< Check for flatpak updates, this slows startup down A LOT welcome - +greeting +clock +battery +updates echo # Properly line break at the end