From 679284ba6486ea38c7af800a57a3c057371b2609 Mon Sep 17 00:00:00 2001 From: rope Date: Wed, 19 Aug 2026 21:42:42 +0100 Subject: [PATCH] hyprland: size scratchpads with monitor_w/h expressions, percent isn't parsed --- settings/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 9a414c1..977eb4e 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -382,7 +382,7 @@ in name = "spotify-inset", match = { class = "^[Ss]potify$" }, float = true, - size = "80% 80%", + size = "monitor_w*0.8 monitor_h*0.8", center = true, }) @@ -397,7 +397,7 @@ in name = "scratchpad-inset", match = { class = "^dev.fred.scratchpad$" }, float = true, - size = "80% 80%", + size = "monitor_w*0.8 monitor_h*0.8", center = true, })