summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-05 15:20:37 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-05 15:20:37 +0100
commit4d4fa986d7ada824ef91ae9074ab4e7cf84bb754 (patch)
tree006d5f66284232876f18faba2c9dc55ae955081a /.local
parent7b68345ead9a3f5030a5aeb7eeb2d54b9a367191 (diff)
chtz: Make use of ‘notify’
Diffstat (limited to '.local')
-rwxr-xr-x.local/sbin/chtz4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/sbin/chtz b/.local/sbin/chtz
index c32573a..f6a6444 100755
--- a/.local/sbin/chtz
+++ b/.local/sbin/chtz
@@ -4,5 +4,5 @@ set -e
choice="`timedatectl list-timezones | grep './.' | osel`" \
&& sudo timedatectl set-timezone "$choice" \
- && notify-send -a "${0##*/}" 'Timezone Changed' \
- "The system timezone was changed to ‘$choice’."
+ && notify "${0##*/}" timezone 'Timezone Changed' \
+ "The system timezone was changed to ‘$choice’"