From c482a3ab8026c3074c37d58570a23fb9db4e3d07 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Mon, 5 Sep 2022 05:12:34 -0700 Subject: [PATCH] :memo: Made note of where calcurse plain text files are --- scripts/calcurse_notification_attempts/print_time | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/calcurse_notification_attempts/print_time b/scripts/calcurse_notification_attempts/print_time index 998dc522..1fd784cf 100755 --- a/scripts/calcurse_notification_attempts/print_time +++ b/scripts/calcurse_notification_attempts/print_time @@ -3,6 +3,11 @@ # simple script that prints out current time in hours:mins format # to be utilized in a bash version of calcurse_reminder.py +# calcurse keeps the plain text version of your appointments/notes/todos in +# .local/share/calcurse + +# utilizing ths, you can probably parse out the text and create a watch daemon using DBUS or cron to notify you when these align (albeit this might take a small amount of RAM to run in the bg) + hours=$(date +"%T" | awk -F ":" '{print $1}') mins=$(date +"%T" | awk -F ":" '{print $2}')