diff options
| author | TheZoq2 <frans.skarman@protonmail.com> | 2024-04-22 22:51:52 +0200 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-11 10:42:49 +0400 |
| commit | 47a8e75fd585e351dd2846a58152a7766403ca11 (patch) | |
| tree | bf8b53c9befcb935a9a228a09db8649d58ba7751 /niri-config/src | |
| parent | 6d9cfe28823e88df68f172496c928bd366777ad1 (diff) | |
| download | niri-47a8e75fd585e351dd2846a58152a7766403ca11.tar.gz niri-47a8e75fd585e351dd2846a58152a7766403ca11.tar.bz2 niri-47a8e75fd585e351dd2846a58152a7766403ca11.zip | |
Add is_active_in_column
Add missing ```
Fix tests
Diffstat (limited to 'niri-config/src')
| -rw-r--r-- | niri-config/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 9f61bce3..52676fa8 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -734,6 +734,8 @@ pub struct Match { pub is_active: Option<bool>, #[knuffel(property)] pub is_focused: Option<bool>, + #[knuffel(property)] + pub is_active_in_column: Option<bool>, } impl PartialEq for Match { @@ -2416,6 +2418,7 @@ mod tests { title: None, is_active: None, is_focused: None, + is_active_in_column: None, }], excludes: vec![ Match { @@ -2423,12 +2426,14 @@ mod tests { title: Some(Regex::new("~").unwrap()), is_active: None, is_focused: None, + is_active_in_column: None, }, Match { app_id: None, title: None, is_active: Some(true), is_focused: Some(false), + is_active_in_column: None, }, ], open_on_output: Some("eDP-1".to_owned()), |
