From b6c471c210c3da6bcb7814fc47f71c34e0745854 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 19 Dec 2023 18:55:15 -0800 Subject: update --- home/xyz/.local/bin/news | 3 +++ 1 file changed, 3 insertions(+) (limited to 'home/xyz/.local') diff --git a/home/xyz/.local/bin/news b/home/xyz/.local/bin/news index 0847e396..e4447d93 100755 --- a/home/xyz/.local/bin/news +++ b/home/xyz/.local/bin/news @@ -13,6 +13,9 @@ daily () { monthly () { o "$BROWSER" https://smtp.cheogram.com/ http://download.huzheng.org o alacritty --hold -e rate + # Show 3 months' remind. I use 3 months because it is better to know I20 deadline 3 months earlier so I have 2 months to prepare the money for extension. + # (2*31+30+6)/7=14. Consider month 1 day 1 is on Sunday and make sure month 3 day 31 is shown. Tested with `rem -cu+14 -@ -w114 2025-03-01` + o alacritty --hold -e sh -c 'rem -cu+14 -@ -w114 | $PAGER' } if [ $# -eq 0 ]; then -- cgit v1.2.3-70-g09d2