dotfiles

Dotfiles for my OpenBSD environment.
Log | Files | Refs

commit 2ed8f8745631b48c7743bc24029df8af808ca887
parent 2355880220fa803881dbf3fce0a1eae4ad589e86
Author: Matsuda Kenji <ftvda283@gmail.com>
Date:   Wed,  2 Sep 2020 06:44:21 +0900

fixed bug of lunar cal

Diffstat:
M.config/i3blocks/lunar_cal.sh | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.config/i3blocks/lunar_cal.sh b/.config/i3blocks/lunar_cal.sh @@ -1,8 +1,9 @@ #!/bin/sh month_names=(睦月 如月 弥生 卯月 皐月 水無月 文月 葉月 長月 神無月 霜月 師走) -solar_cal=`date "+%Y,%-m,%d"` -lunar_cal=`grep ^$solar_cal lunar/calendar_j.csv | cut -d, -f10-` +solar_cal=`date "+%Y,%-m,%-d"` +#echo $solar_cal +lunar_cal=`grep ^${solar_cal}, lunar/calendar_j.csv | cut -d, -f10-` kanji_nums=(零壱弐参肆伍陸漆捌玖)