summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-19 18:55:15 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-12-19 18:55:15 -0800
commitb6c471c210c3da6bcb7814fc47f71c34e0745854 (patch)
tree9568094822e538b716a679d491dc0ba1eac3f6f9 /home/xyz/.local
parent77d4496ac106dac8035765e008ab6ed6a18fad3b (diff)
update
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/news3
1 files changed, 3 insertions, 0 deletions
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