aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-02 08:41:42 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-10 07:29:33 -0800
commita451f75917e427a4b4c7d986ce74e5a3999e563d (patch)
tree0e0f74e81e85485d5ff07f2ceb5567d4059a06d2 /src/layout/mod.rs
parent1515410012842c419e8bc3de717b8a51b1a0b45c (diff)
downloadniri-a451f75917e427a4b4c7d986ce74e5a3999e563d.tar.gz
niri-a451f75917e427a4b4c7d986ce74e5a3999e563d.tar.bz2
niri-a451f75917e427a4b4c7d986ce74e5a3999e563d.zip
Implement tab indicators
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index c9c4e72d..a49ec0e6 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -80,6 +80,7 @@ pub mod monitor;
pub mod opening_window;
pub mod scrolling;
pub mod shadow;
+pub mod tab_indicator;
pub mod tile;
pub mod workspace;
@@ -312,6 +313,7 @@ pub struct Options {
pub focus_ring: niri_config::FocusRing,
pub border: niri_config::Border,
pub shadow: niri_config::Shadow,
+ pub tab_indicator: niri_config::TabIndicator,
pub insert_hint: niri_config::InsertHint,
pub center_focused_column: CenterFocusedColumn,
pub always_center_single_column: bool,
@@ -337,6 +339,7 @@ impl Default for Options {
focus_ring: Default::default(),
border: Default::default(),
shadow: Default::default(),
+ tab_indicator: Default::default(),
insert_hint: Default::default(),
center_focused_column: Default::default(),
always_center_single_column: false,
@@ -550,6 +553,7 @@ impl Options {
focus_ring: layout.focus_ring,
border: layout.border,
shadow: layout.shadow,
+ tab_indicator: layout.tab_indicator,
insert_hint: layout.insert_hint,
center_focused_column: layout.center_focused_column,
always_center_single_column: layout.always_center_single_column,