omarchy/bin/omarchy-cmd-tzupdate

7 lines
156 B
Bash
Executable File

#!/bin/bash
sudo tzupdate
new_timezone=$(timedatectl show -p Timezone --value)
omarchy-restart-waybar
notify-send "Timezone has been set to $new_timezone"