Add ability to select a default profile. (#144)
* add default profile * check profile * default profiles add translations * default profiles check for profile removal
This commit is contained in:
parent
1b0d018e43
commit
d4f1e1cd12
3 changed files with 28 additions and 2 deletions
|
|
@ -219,6 +219,7 @@ pub struct Config {
|
|||
pub syntax_theme_dark: String,
|
||||
pub syntax_theme_light: String,
|
||||
pub focus_follow_mouse: bool,
|
||||
pub default_profile: Option<ProfileId>,
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
|
|
@ -241,6 +242,7 @@ impl Default for Config {
|
|||
syntax_theme_dark: "COSMIC Dark".to_string(),
|
||||
syntax_theme_light: "COSMIC Light".to_string(),
|
||||
use_bright_bold: false,
|
||||
default_profile: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue