feat: add apply_theme_global to CosmicTk

This commit is contained in:
Ashley Wulber 2024-03-18 13:45:39 -04:00 committed by Jeremy Soller
parent e18e304e0f
commit db63aefe6f

View file

@ -18,8 +18,11 @@ pub struct CosmicTk {
/// Show maximize button in window header. /// Show maximize button in window header.
pub show_maximize: bool, pub show_maximize: bool,
/// Preferred icon theme /// Preferred icon theme.
pub icon_theme: String, pub icon_theme: String,
/// Apply the theme to other toolkits.
pub apply_theme_global: bool,
} }
impl Default for CosmicTk { impl Default for CosmicTk {
@ -28,6 +31,7 @@ impl Default for CosmicTk {
show_minimize: true, show_minimize: true,
show_maximize: true, show_maximize: true,
icon_theme: String::from("Cosmic"), icon_theme: String::from("Cosmic"),
apply_theme_global: false,
} }
} }
} }