From 91f99732096f22c660b4c233c86f9a799b39e7f3 Mon Sep 17 00:00:00 2001 From: katherine Date: Tue, 14 May 2019 20:52:40 -0700 Subject: add a certain person's localtime to clock --- .config/herbstluftwm/panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 3c3d178..79b3cce 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -111,7 +111,7 @@ update_winlist() { update_date() { #\uE015 echo -n "${sep}%{A:date:} " - LANG=ja_JP.UTF-8 date +$'%a, %b %d, %H:%M:%S' | tr -d '\n' + echo -n "$(LANG=ja_JP.UTF-8 date +$'%m月%d日 (%a) %H:%M:%S') [$(TZ=Japan LANG=ja_JP.UTF-8 date +'%m/%d:%H')]" | tr -d '\n' echo " %{A}" } -- cgit v1.2.3