added options for bar media module (#88)

* added options for bar media module

* added reviewed changes

* cleaned up
This commit is contained in:
matavach
2024-08-08 00:19:14 -05:00
committed by GitHub
parent f5b75edbed
commit 407c8aa304
3 changed files with 22 additions and 10 deletions

View File

@@ -72,6 +72,9 @@ export const BarSettings = () => {
Header('Media'),
Option({ opt: options.theme.bar.buttons.media.spacing, title: 'Inner Spacing', subtitle: 'Spacing between the icon and the label inside the buttons.', type: 'string' }),
Option({ opt: options.bar.media.show_artist, title: 'Show Track Artist', type: 'boolean' }),
Option({ opt: options.bar.media.truncation, title: 'Truncate Media Label', type: 'boolean' }),
Option({ opt: options.bar.media.truncation_size, title: 'Truncation Size', type: 'number', min: 10 }),
Header('Notifications'),
Option({ opt: options.bar.notifications.show_total, title: 'Show Total # of notifications', type: 'boolean' }),
@@ -79,4 +82,4 @@ export const BarSettings = () => {
]
})
})
}
}