Skip to content

Instantly share code, notes, and snippets.

View joostdewaal's full-sized avatar

Joost joostdewaal

  • New Materialism
View GitHub Profile
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: check;
"use strict";
/**
* Widget to get a Todoist task based on a filter
* If a filter has multiple sections, will get a random task from first section that has tasks
* The script remembers last selected task, and keeps showing that task while it matches above
* condition (being part of first section with tasks).