niri: add window rules for 1password quick access
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
138eed12d3
commit
36f5b8c15f
1 changed files with 15 additions and 0 deletions
|
@ -203,6 +203,21 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
### Overrides
|
### Overrides
|
||||||
|
# TODO: Remove when switching 1Password to Wayland
|
||||||
|
(let
|
||||||
|
height = builtins.floor (config.custom.height / config.custom.scale * 0.4); # 40%
|
||||||
|
in {
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
app-id = "^1Password";
|
||||||
|
title = "^Quick Access — 1Password$";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
max-height = height;
|
||||||
|
min-height = height;
|
||||||
|
open-floating = true;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue