diff options
| author | Thomas Versteeg <t@versteeg.email> | 2024-01-08 17:17:19 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-08 17:37:18 +0400 |
| commit | fb93038bd88e4443015fb482de3450c27f009219 (patch) | |
| tree | a2b5bbcce4c2c2fc9f9a070565800a44d1646013 /src/layout/mod.rs | |
| parent | 71fef2ad2e873c45279cdd6e629218fb5dea1115 (diff) | |
| download | niri-fb93038bd88e4443015fb482de3450c27f009219.tar.gz niri-fb93038bd88e4443015fb482de3450c27f009219.tar.bz2 niri-fb93038bd88e4443015fb482de3450c27f009219.zip | |
Add center-focused-column setting
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 69d78676..c18fe6b5 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -139,6 +139,7 @@ pub struct Options { struts: Struts, focus_ring: niri_config::FocusRing, border: niri_config::FocusRing, + center_focused_column: niri_config::CenterFocusedColumn, /// Column widths that `toggle_width()` switches between. preset_widths: Vec<ColumnWidth>, /// Initial width for new columns. @@ -152,6 +153,7 @@ impl Default for Options { struts: Default::default(), focus_ring: Default::default(), border: niri_config::default_border(), + center_focused_column: Default::default(), preset_widths: vec