Files
arthur-os/bin/omarchy-tz-select
2026-04-28 12:03:46 -04:00

10 lines
299 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Select and set the system timezone
# omarchy:requires-sudo=true
timezone=$(timedatectl list-timezones | gum filter --height 20 --header "Set timezone") || exit 1
sudo timedatectl set-timezone "$timezone"
echo "Timezone is now set to $timezone"
omarchy-restart-waybar