Add config for showing header bar
This commit is contained in:
parent
7013067582
commit
37acfe186e
4 changed files with 43 additions and 3 deletions
|
|
@ -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(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue