diff options
Diffstat (limited to '.local/sbin/stz')
-rwxr-xr-x | .local/sbin/stz | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.local/sbin/stz b/.local/sbin/stz index 7a6fdc6..413bf40 100755 --- a/.local/sbin/stz +++ b/.local/sbin/stz @@ -2,9 +2,7 @@ set -e -choice="`timedatectl list-timezones | grep './.' | osel`" - -[ -n "$choice" ] \ +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’." |