diff options
author | Azad <49314270+Akmadan23@users.noreply.github.com> | 2023-11-04 15:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 10:32:08 -0400 |
commit | ee50d175d8c14cc7420e922864e6c5289c2785f3 (patch) | |
tree | f051ddedc3c86bd24f0e3a3f6480a88c1cc1af52 /src/config/raw/app/config.rs | |
parent | 50a8fa70e1870266897973c87886e306f47e99bf (diff) |
feat: add `focus_on_create` option (#448)
* feat: add `focus_on_create` option
* Replace `PathBuf` with `Path`
* Minor clippy fix
Diffstat (limited to 'src/config/raw/app/config.rs')
-rw-r--r-- | src/config/raw/app/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/raw/app/config.rs b/src/config/raw/app/config.rs index be358bc..feac4f2 100644 --- a/src/config/raw/app/config.rs +++ b/src/config/raw/app/config.rs @@ -26,6 +26,8 @@ pub struct AppConfigRaw { pub xdg_open_fork: bool, #[serde(default = "default_true")] pub watch_files: bool, + #[serde(default = "default_true")] + pub focus_on_create: bool, #[serde(default)] pub cmd_aliases: HashMap<String, String>, #[serde(default, rename = "display")] |