diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-27 11:20:03 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | a24a6e4e3c441389fd7731320f47e61e567e237f (patch) | |
| tree | 0f93350f38a83af27ccb5549191323dc56cf9b4e /niri-config/src | |
| parent | 6fba4c371e7868f8d581cf3d49d611cdbb590ad4 (diff) | |
| download | niri-a24a6e4e3c441389fd7731320f47e61e567e237f.tar.gz niri-a24a6e4e3c441389fd7731320f47e61e567e237f.tar.bz2 niri-a24a6e4e3c441389fd7731320f47e61e567e237f.zip | |
Implement is-floating window rule matcher
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 b1543b56..2437fe66 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -1031,6 +1031,8 @@ pub struct Match { #[knuffel(property)] pub is_active_in_column: Option<bool>, #[knuffel(property)] + pub is_floating: Option<bool>, + #[knuffel(property)] pub at_startup: Option<bool>, } @@ -3403,6 +3405,7 @@ mod tests { is_active: None, is_focused: None, is_active_in_column: None, + is_floating: None, at_startup: None, }], excludes: vec![ @@ -3412,6 +3415,7 @@ mod tests { is_active: None, is_focused: None, is_active_in_column: None, + is_floating: None, at_startup: None, }, Match { @@ -3420,6 +3424,7 @@ mod tests { is_active: Some(true), is_focused: Some(false), is_active_in_column: None, + is_floating: None, at_startup: None, }, ], |
