From 80928632ba38210242832e316b57e2e153da7efd Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 26 Sep 2023 13:44:37 +0400 Subject: Add prefer-no-csd option --- src/config.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/config.rs') 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 { -- cgit