From db63aefe6fdfe5133a732ea4e76bc560f181e0ec Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 18 Mar 2024 13:45:39 -0400 Subject: [PATCH] feat: add apply_theme_global to CosmicTk --- src/config/toolkit.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config/toolkit.rs b/src/config/toolkit.rs index 996bd2a..2f738cb 100644 --- a/src/config/toolkit.rs +++ b/src/config/toolkit.rs @@ -18,8 +18,11 @@ pub struct CosmicTk { /// Show maximize button in window header. pub show_maximize: bool, - /// Preferred icon theme + /// Preferred icon theme. pub icon_theme: String, + + /// Apply the theme to other toolkits. + pub apply_theme_global: bool, } impl Default for CosmicTk { @@ -28,6 +31,7 @@ impl Default for CosmicTk { show_minimize: true, show_maximize: true, icon_theme: String::from("Cosmic"), + apply_theme_global: false, } } }