1
1
Fork 0

niri: modify rules

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-02 12:02:11 -06:00
parent a8b86890db
commit 2b2ffe0b1f
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -67,8 +67,8 @@ in {
pip = with config.custom; rec {
x = gap;
y = gap;
w = builtins.floor (h * 16 / 9); # 16:9
h = builtins.floor (height / 3.0 - gap * 2 - border); # 33%
w = builtins.floor (width * 0.3 - gap); # 30%
h = builtins.floor (w * 9 / 16); # 16:9
};
in
with inputs.niri-flake.lib;
@ -80,6 +80,7 @@ in {
(plain "window-rule" [
(leaf "match" {is-floating = true;})
(plain "border" [(flag "off")])
(plain "focus-ring" [(flag "off")])
])
(plain "window-rule" [