Subscribe to external edits of the config file (e.g. a synced dotfile or * a hand-edit). The callback receives the new portable config.
(cb: (next: AppConfigPortable) => void)
| 262 | /** Subscribe to external edits of the config file (e.g. a synced dotfile or |
| 263 | * a hand-edit). The callback receives the new portable config. */ |
| 264 | onConfigChange(cb: (next: AppConfigPortable) => void): () => void |
| 265 | /** User themes loaded from `~/.config/zennotes/themes/<slug>/`. Empty on web. */ |
| 266 | listCustomThemes(): Promise<CustomTheme[]> |
| 267 | /** Absolute path of the custom-themes directory, or null when unsupported. */ |