A dmenu calendar.

git clone git://watertao.xyz/programs/calcurse_dmenu.git

commit 523b2c644513ebc3cf4ac4b26a0b648b626ba06e
parent cb33014693d6fecde840d80021f3071da73ce292
Author: Jeff <dev@watertao.xyz>
Date:   Fri,  8 Aug 2025 17:13:35 -0700

README edits

Diffstat:
MREADME | 14++++++--------
Mentry_edit_parser.awk | 8+++-----
2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/README b/README @@ -22,14 +22,12 @@ with calcurse (Note WARNING above). calcurse is not required to run a fully functioning calcurse_dmenu. The view and selection of calendar, todo, history, and alarm entries -is a 100% dmenu experience. To edit notes attached to entries, an $EDITOR -of your choice (see config.sh) is employed. A more complete view of -entries is displayed by a pager of your choice (see config.sh). - -This is a raw deal. Although notes may be edited, entries themselves -are absolute. To make a change, simply retype the new entry and remove -the old. Although minor, it is inconvenient and on the table for future -development. +is a 100% dmenu experience. All entry functions are engaged by tagging +the entry. By edit tagging an entry, the date, recurrance and +description of the entry becomes editable in a dmenu interface. Tagging +the entry for note editing employs the $EDITOR of your choice (see +config.sh). A more complete view of entries is displayed by a pager of +your choice (see config.sh). This is purely a dmenu/pager/editor experience. Not a single graphical representation of a calendar to be found. That's for the sake of diff --git a/entry_edit_parser.awk b/entry_edit_parser.awk @@ -1,12 +1,10 @@ #!/bin/awk { - e_type="" - recur="" - # Remove note sub( />[0-9a-f]{40} */, "" ) # Recurrence + recur = "" if ( match($0, /\{.*\}/ )){ # Capture it recur = " #" substr($0, RSTART + 1, RLENGTH - 2) @@ -18,7 +16,7 @@ # Apt if ( match( $0, ymd_x" @" )){ match($0, /^[0-9\/ -\>@]+|/) - d=substr($0, RSTART, RLENGTH) + d = substr($0, RSTART, RLENGTH) gsub(/ @/,"",d) split(d, da, " -> ") d = (da[1] == da[2]) ? da[1] : da[1] " - " da[2] @@ -33,7 +31,7 @@ # Todo } else if ( match( $0, /^\[/ )){ match($0, /^\[[[:digit:]]+\]/) - d=substr($0, RSTART + 1, RLENGTH - 2) + d = substr($0, RSTART + 1, RLENGTH - 2) s = substr($0, RLENGTH + 1) }