From 766a3bb3c4f18af652db92d759e9b44452d11127 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 3 Aug 2023 16:06:56 +0200 Subject: [PATCH] add titles --- usr/bin/archboot-clock.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/bin/archboot-clock.sh b/usr/bin/archboot-clock.sh index e066d4938..051185589 100755 --- a/usr/bin/archboot-clock.sh +++ b/usr/bin/archboot-clock.sh @@ -40,7 +40,7 @@ _timezone () { _SET_ZONE="" fi done - _dialog --no-mouse --infobox "Setting Timezone to ${_ZONE}..." 3 50 + _dialog --title " Clock Configuration " --no-mouse --infobox "Setting Timezone to ${_ZONE}..." 3 50 timedatectl set-timezone "${_ZONE}" sleep 2 } @@ -60,7 +60,7 @@ _timeset() { timedatectl set-time "${_DATETIME}" _SET_TIME="1" fi - _dialog --no-mouse --infobox "Clock configuration completed successfully." 3 50 + _dialog --title " Clock Configuration " --no-mouse --infobox "Clock configuration completed successfully." 3 50 sleep 2 } @@ -83,7 +83,7 @@ _SET_TIME="" # automatic setup if ping -c1 www.google.com &>/dev/null; then _ZONE="$(curl -s "http://ip-api.com/csv/?fields=timezone")" - _auto_clock | _dialog --no-mouse --gauge "Setting Timezone to ${_ZONE}..." 6 60 0 + _auto_clock | _dialog --title " Clock Configuration " --no-mouse --gauge "Setting Timezone to ${_ZONE}..." 6 60 0 _SET_TIME="1" fi while [[ -z "${_SET_TIME}" ]]; do