feat(config): add icon theme property to CosmicTk config

This commit is contained in:
Michael Aaron Murphy 2024-03-18 15:49:01 +01:00 committed by Jeremy Soller
parent 3694304ee5
commit 4154428a63
5 changed files with 24 additions and 5 deletions

View file

@ -46,6 +46,9 @@ pub struct Core {
/// Enables debug features in cosmic/iced.
pub debug: bool,
/// Disables loading the icon theme from cosmic-config.
pub(super) icon_theme_override: bool,
/// Whether the window is too small for the nav bar + main content.
is_condensed: bool,
@ -95,6 +98,7 @@ impl Default for Core {
fn default() -> Self {
Self {
debug: false,
icon_theme_override: false,
is_condensed: false,
keyboard_nav: true,
nav_bar: NavBar {