dotfiles/config/networkmanager/09-timezone

7 lines
119 B
Plaintext
Raw Normal View History

#!/bin/sh
case "$2" in
up)
timedatectl set-timezone "$(curl --fail https://ipapi.co/timezone)"
;;
esac