Add config for showing header bar

This commit is contained in:
Jeremy Soller 2023-12-22 15:40:10 -07:00
parent 7013067582
commit 37acfe186e
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
4 changed files with 43 additions and 3 deletions

View file

@ -31,6 +31,7 @@ pub struct Config {
pub app_theme: AppTheme,
pub font_name: String,
pub font_size: u16,
pub show_headerbar: bool,
pub syntax_theme_dark: String,
pub syntax_theme_light: String,
}
@ -41,6 +42,7 @@ impl Default for Config {
app_theme: AppTheme::System,
font_name: "Fira Mono".to_string(),
font_size: 14,
show_headerbar: true,
syntax_theme_dark: "COSMIC Dark".to_string(),
syntax_theme_light: "COSMIC Light".to_string(),
}