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 bb8cfcf6..6f695c34 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -24,6 +24,8 @@ pub struct Config {
pub cursor: Cursor,
#[knuffel(child, unwrap(children), default)]
pub preset_column_widths: Vec<PresetWidth>,
+ #[knuffel(child, unwrap(argument), default = 16)]
+ pub gaps: u16,
#[knuffel(child, default)]
pub binds: Binds,
#[knuffel(child, default)]
@@ -528,6 +530,8 @@ mod tests {
fixed 1280
}
+ gaps 8
+
binds {
Mod+T { spawn "alacritty"; }
Mod+Q { close-window; }
@@ -601,6 +605,7 @@ mod tests {
PresetWidth::Fixed(960),
PresetWidth::Fixed(1280),
],
+ gaps: 8,
binds: Binds(vec![
Bind {
key: Key {