feat(config): add icon theme property to CosmicTk config
This commit is contained in:
parent
3694304ee5
commit
4154428a63
5 changed files with 24 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue