dotfiles/config/networkmanager/09-timezone

7 lines
119 B
Bash

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