Some practical examples:
- Every time Logseq starts I would like to remove all
collapsed::truefrom all Pages and Journals;
- I want to create a symlink in /pages for today’s journal and insert it’s name in
:default-homesection of config.edn so that G H would work in Logseq;
- I want to be able to perform a Global Regex Search and Replace without resorting to VSCode;
- I want to replace
:default-templatestemplate with a template for each day of the week, Holyday, vacation, first day of Month, etc;
- I want to be able to “link” Scheduled/Deadline Tasks with the OS Notification System and also add Reminders in the OS, maybe even sync the Logseq Calendar with the OS Calendar;
I have encountered many more situations where I would have liked to be able to either have a CLI function run at Logseq start or be able to call such a function from a Macro.
I only wish that such a thing was available in Logseq so that it can be more tightly interconnected with the OS.