diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-11 09:52:05 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-11 10:31:12 +0300 |
| commit | 29b7a41692b9773ac939c2b18fe9dbf6735cfef1 (patch) | |
| tree | a0a1ec4a15566ed6eb8d0bcb2ef8dd4c96674a8b /niri-config/src/lib.rs | |
| parent | 216753678a9fc51b0d639b6ed374e965d9eda301 (diff) | |
| download | niri-29b7a41692b9773ac939c2b18fe9dbf6735cfef1.tar.gz niri-29b7a41692b9773ac939c2b18fe9dbf6735cfef1.tar.bz2 niri-29b7a41692b9773ac939c2b18fe9dbf6735cfef1.zip | |
Implement is-window-cast-target window rule matcher
Diffstat (limited to 'niri-config/src/lib.rs')
| -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 e20b0f49..701f5c5a 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -1210,6 +1210,8 @@ pub struct Match { #[knuffel(property)] pub is_floating: Option<bool>, #[knuffel(property)] + pub is_window_cast_target: Option<bool>, + #[knuffel(property)] pub at_startup: Option<bool>, } @@ -3948,6 +3950,7 @@ mod tests { is_focused: None, is_active_in_column: None, is_floating: None, + is_window_cast_target: None, at_startup: None, }], excludes: vec![ @@ -3958,6 +3961,7 @@ mod tests { is_focused: None, is_active_in_column: None, is_floating: None, + is_window_cast_target: None, at_startup: None, }, Match { @@ -3967,6 +3971,7 @@ mod tests { is_focused: Some(false), is_active_in_column: None, is_floating: None, + is_window_cast_target: None, at_startup: None, }, ], |
