config: add floating window criteria
This commit is contained in:
parent
da64166e82
commit
8bb8b2a649
14 changed files with 78 additions and 14 deletions
|
|
@ -231,7 +231,6 @@ impl Rule for WindowRule {
|
|||
}
|
||||
};
|
||||
}
|
||||
#[expect(unused_macros)]
|
||||
macro_rules! bool {
|
||||
($ty:ident, $field:ident) => {
|
||||
if let Some(value) = &match_.$field {
|
||||
|
|
@ -259,6 +258,7 @@ impl Rule for WindowRule {
|
|||
value!(TitleRegex, title_regex);
|
||||
value!(AppId, app_id);
|
||||
value!(AppIdRegex, app_id_regex);
|
||||
bool!(Floating, floating);
|
||||
Some(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue