From 7f013761778d85d514e1910d8753a07c939bbbc7 Mon Sep 17 00:00:00 2001 From: Aylur <104676705+Aylur@users.noreply.github.com> Date: Wed, 24 Jan 2024 01:25:34 +0100 Subject: [PATCH] Update config-object.md added missing onConfigParsed option --- src/content/docs/config/config-object.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/docs/config/config-object.md b/src/content/docs/config/config-object.md index dd1b06a..9558a23 100644 --- a/src/content/docs/config/config-object.md +++ b/src/content/docs/config/config-object.md @@ -19,6 +19,10 @@ export default { maxStreamVolume: 1.5, // float cacheCoverArt: true, + onConfigParsed: function() { + // code that runs after this object is loaded + } + style: App.configDir + '/style.css', windows: [ // Array @@ -36,5 +40,6 @@ export default { | `cacheNotificationActions` | `boolean` | Whether to cache notification actions, so that they can be reloaded | `maxStreamVolume` | `number` | Maximum possible volume on an Audio Stream | `cacheCoverArt` | `boolean` | Whether to cache mpris cover arts. `true` by default +| `onConfigParsed` | `(app: App) => void` | Callback to execute after all user modules were resolved. | `style` | `string` | Path to a css file. | `windows` | `Array` | List of [Windows](./widgets#window).