aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index aae77fde..91b4c2e1 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -19,6 +19,8 @@ pub struct Config {
#[knuffel(child, default)]
pub focus_ring: FocusRing,
#[knuffel(child, default)]
+ pub prefer_no_csd: bool,
+ #[knuffel(child, default)]
pub binds: Binds,
#[knuffel(child, default)]
pub debug: DebugConfig,
@@ -350,6 +352,8 @@ mod tests {
inactive-color 1.0 0.5 0.25 0.0
}
+ prefer-no-csd
+
binds {
Mod+T { spawn "alacritty"; }
Mod+Q { close-window; }
@@ -403,6 +407,7 @@ mod tests {
a: 0.,
},
},
+ prefer_no_csd: true,
binds: Binds(vec![
Bind {
key: Key {