aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2022-06-17 07:00:28 -0700
committerkatherine <ageha@airen-no-jikken.icu>2022-06-17 07:00:28 -0700
commit59bb9c116e97fef3b3b3e72f0ecd0e7fc9559f38 (patch)
tree0da11081ae7dd8936e8f21465bd42b482980987b
parente6b49c47c69fbb72d827f85ba577dd8e2492ea91 (diff)
downloaddotfiles-59bb9c116e97fef3b3b3e72f0ecd0e7fc9559f38.tar.gz
change panel clock display format
-rwxr-xr-x.config/herbstluftwm/panel.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index c758ec0..aa42a8f 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -111,8 +111,7 @@ update_winlist() {
update_date() {
#\uE015
echo -n "${sep}%{A:date:} "
- echo -n "$(LANG=ja_JP.UTF-8 date +$'%m月%d日 (%a) %H:%M:%S') <$(TZ=EST5EDT date +'%d:%H')> [$(TZ=Japan date +'%d:%H')]" | tr -d '\n'
- # echo -n "$(LANG=ja_JP.UTF-8 date +$'%m月%d日 (%a) %H:%M:%S') [$(TZ=Japan date +'%d:%H')]" | tr -d '\n'
+ echo -n "$(LANG=ja_JP.UTF-8 date +$'%m月%d日 (%a) %H:%M:%S') J:$(TZ=Japan date +'%d:%H') U:$(TZ=UTC date +'%d:%H')" | tr -d '\n'
echo " %{A}"
}