aboutsummaryrefslogtreecommitdiffstats
path: root/mail-overview/test-mail-notify.sh
AgeCommit message (Collapse)AuthorFilesLines
23 hoursfeat(mail-overview): build notification bodiesDanilo M.1-0/+33
Three rows of author and subject, then +N more, which bounds the height so a mailing list burst is not a wall. Markup characters are escaped because dunst renders body markup and a subject is untrusted text off the internet.
23 hoursfeat(mail-overview): parse accounts for the notifierDanilo M.1-0/+39
Same source the drawer parses, so adding an account in qtmaildir notifies with no edit here. Keys run to the closing bracket because real ones contain dots, and parsing walks lines because a folder named [Gmail]/Bozze ends a section body early.
23 hoursfeat(mail-overview): skeleton for the arrival notifierDanilo M.1-0/+43
A library guard so the test can source the script for its pure functions without starting a watch loop, and the check itself, which is one bash script rather than a framework.