summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
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