summaryrefslogtreecommitdiff
path: root/.local/sbin/stz
blob: 413bf40c68cae8c9319484c13bdbfed351a07d23 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

choice="`timedatectl list-timezones | grep './.' | osel`" \
	&& sudo timedatectl set-timezone "$choice" \
	&& notify-send -a "${0##*/}" -u normal 'Timezone changed' \
		"The system timezone was changed to ‘$choice’."