feat: configurable fonts
This commit is contained in:
parent
e645dee2f0
commit
9e064e7fa0
20 changed files with 143 additions and 124 deletions
|
|
@ -627,7 +627,7 @@ impl<T: Application> Cosmic<T> {
|
|||
crate::icon_theme::set_default(config.icon_theme.clone());
|
||||
}
|
||||
|
||||
*crate::config::COSMIC_TK.lock().unwrap() = config;
|
||||
*crate::config::COSMIC_TK.write().unwrap() = config;
|
||||
}
|
||||
|
||||
Message::Focus(f) => {
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ impl Default for Settings {
|
|||
no_main_window: false,
|
||||
client_decorations: true,
|
||||
debug: false,
|
||||
default_font: font::FONT,
|
||||
default_font: font::default(),
|
||||
default_icon_theme: None,
|
||||
default_text_size: 14.0,
|
||||
resizable: Some(8.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue