Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Lua Callbacks

Mark Janssen edited this page Jun 25, 2016 · 8 revisions

In order of probable implementation.

onFilter

This callback is called for every task in and shows the task (if return is true) or hides it.

onDisplay

Rewrites the task for displaying. This allows filtering of certain parts.

onCalendarSync

Returns the timespan for the calendar appointment or nil if no appointment should be created.

onUpdate

Is called when creating or changing tasks, allows rewriting of the task (for example to sort tags or lists)

onComplete

Maybe to replace the current recurrence implementation. Would be nice if this could call any random intent.

Clone this wiki locally