1
1
Fork 0

hyprland: fix pip aspect ratio

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-15 18:05:59 -05:00
parent d74f26e5a7
commit f7ad0794bd
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -107,7 +107,7 @@ in {
x = tr (width / scale - (toInt w) - gap - border); x = tr (width / scale - (toInt w) - gap - border);
y = tr (gap + border); y = tr (gap + border);
w = tr (width / scale * 0.25 - gap - gap / 2 - border * 2); # 25% w = tr (width / scale * 0.25 - gap - gap / 2 - border * 2); # 25%
h = tr ((toInt w) * 9 / 16); # 16:9 aspect ratio h = tr ((toInt w) * 9 / 16 + 1); # 16:9 aspect ratio
}; };
### Rules ### Rules