Give feedback while time + tz is updating

Closes #1546
This commit is contained in:
David Heinemeier Hansson
2025-09-14 15:33:23 +02:00
parent 27f020af4d
commit 445ccdebbf

View File

@@ -1,7 +1,8 @@
#!/bin/bash
notify-send " Updating time and timezone..."
sudo systemctl restart systemd-timesyncd
sudo tzupdate
new_timezone=$(timedatectl show -p Timezone --value)
omarchy-restart-waybar
notify-send "Time synced and timezone set to $new_timezone"
notify-send "Time updated and timezone set to $new_timezone"