refactor: optional config subscriptions using dbus

This commit is contained in:
Ashley Wulber 2023-12-15 17:00:08 -05:00
parent 5a833fca7d
commit bac6175c72
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
14 changed files with 381 additions and 139 deletions

View file

@ -40,6 +40,7 @@ pub enum Layer {
PartialEq,
cosmic_config::cosmic_config_derive::CosmicConfigEntry,
)]
#[version = 1]
pub struct Theme {
/// name of the theme
pub name: String,
@ -388,6 +389,7 @@ impl From<CosmicPalette> for Theme {
cosmic_config::cosmic_config_derive::CosmicConfigEntry,
PartialEq,
)]
#[version = 1]
pub struct ThemeBuilder {
/// override the palette for the builder
pub palette: CosmicPalette,