mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
tab indicator: Add gaps-between-tabs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user