hyprland: size scratchpads with monitor_w/h expressions, percent isn't parsed

This commit is contained in:
rope 2026-08-19 21:42:42 +01:00
parent 5c1e96c6b8
commit 679284ba64

View file

@ -382,7 +382,7 @@ in
name = "spotify-inset", name = "spotify-inset",
match = { class = "^[Ss]potify$" }, match = { class = "^[Ss]potify$" },
float = true, float = true,
size = "80% 80%", size = "monitor_w*0.8 monitor_h*0.8",
center = true, center = true,
}) })
@ -397,7 +397,7 @@ in
name = "scratchpad-inset", name = "scratchpad-inset",
match = { class = "^dev.fred.scratchpad$" }, match = { class = "^dev.fred.scratchpad$" },
float = true, float = true,
size = "80% 80%", size = "monitor_w*0.8 monitor_h*0.8",
center = true, center = true,
}) })