diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-07 10:23:56 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | 0dd8e883b092d4bcd735bec45c8cff3d86a4f991 (patch) | |
| tree | d6681cd876f1889644f3180c970eb11ccc161aa2 /niri-config/src | |
| parent | c31b58e2c9a786fc8c96bba462190374535e6819 (diff) | |
| download | niri-0dd8e883b092d4bcd735bec45c8cff3d86a4f991.tar.gz niri-0dd8e883b092d4bcd735bec45c8cff3d86a4f991.tar.bz2 niri-0dd8e883b092d4bcd735bec45c8cff3d86a4f991.zip | |
tab indicator: Add gaps-between-tabs
Diffstat (limited to 'niri-config/src')
| -rw-r--r-- | niri-config/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 4b1da5bc..880a08e9 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -695,6 +695,8 @@ pub struct TabIndicator { pub length: TabIndicatorLength, #[knuffel(child, unwrap(argument), default = Self::default().position)] pub position: TabIndicatorPosition, + #[knuffel(child, unwrap(argument), default = Self::default().gaps_between_tabs)] + pub gaps_between_tabs: FloatOrInt<0, 65535>, #[knuffel(child)] pub active_color: Option<Color>, #[knuffel(child)] @@ -717,6 +719,7 @@ impl Default for TabIndicator { total_proportion: Some(0.5), }, position: TabIndicatorPosition::Left, + gaps_between_tabs: FloatOrInt(0.), active_color: None, inactive_color: None, active_gradient: None, |
