From 28e8bdf7f8286bd431b7f3b709e79f3827b31469 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:54:03 +0900 Subject: updates --- debian/.local/bin/timezones | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 debian/.local/bin/timezones (limited to 'debian/.local/bin/timezones') diff --git a/debian/.local/bin/timezones b/debian/.local/bin/timezones new file mode 100755 index 0000000..206f8da --- /dev/null +++ b/debian/.local/bin/timezones @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +[ "$1" != "" ] && time=$1 || time='' + +printDate() { + [ "$time" != "" ] && message="$(TZ=$2 date +'%a, %d %b %H:%M' -d "$time $(date +%Z)")" || message="$(TZ=$2 date +'%a, %d %b %H:%M')" + notify-send "$1" "$message" +} + +printDate "Los Angeles" America/Los_Angeles +printDate "New York" America/New_York +printDate "London" Europe/London +printDate "Berlin" Europe/Berlin +printDate "Moscow" Europe/Moscow +printDate "Bangkok" Asia/Bangkok +printDate "Hong Kong" Asia/Hong_Kong +printDate "Macau" Asia/Macau +printDate "Seoul" Asia/Seoul +printDate "Tokyo" Asia/Tokyo -- cgit v1.2.3