Skip to content

Commit

Permalink
Update config-object.md
Browse files Browse the repository at this point in the history
added missing onConfigParsed option
  • Loading branch information
Aylur authored Jan 24, 2024
1 parent 4eed81a commit 7f01376
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/content/docs/config/config-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Gtk.Window>
Expand All @@ -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<Gtk.Window>` | List of [Windows](./widgets#window).

0 comments on commit 7f01376

Please sign in to comment.