From 59bb9c116e97fef3b3b3e72f0ecd0e7fc9559f38 Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 17 Jun 2022 07:00:28 -0700 Subject: change panel clock display format --- .config/herbstluftwm/panel.sh | 3 +-- 1 file changed, 1 insertion(+), 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}" } -- cgit v1.2.3