From 0241cfa63f9a4a48d88e55bbc3dc266bc0087ac3 Mon Sep 17 00:00:00 2001 From: Jeena Date: Fri, 26 Sep 2025 13:08:58 +0900 Subject: [PATCH] Remove transparency from floating browser window When I have a Picture-in-Picture video I like to open it and float it on top of everything so it's always visible. But when it becomes inactive the background shines through like with all other inactive windows. This patch makes the opacity to 1.0 so the background doesn't shine through and it's easier to watch the video. --- hypr/windowrule.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/windowrule.conf b/hypr/windowrule.conf index 7343682..177beec 100644 --- a/hypr/windowrule.conf +++ b/hypr/windowrule.conf @@ -1,9 +1,9 @@ # Librewolf Picture-in-Picture windowrulev2 = float, class:($browser),title:(Picture-in-Picture) windowrulev2 = pin, class:($browser),title:(Picture-in-Picture) +windowrule = opacity 1.0 override 1.0 override, class:($browser),title:(Picture-in-Picture) # Cheatsheet windowrulev2 = float, class:net.jeena.Cheatsheet windowrulev2 = center, class:net.jeena.Cheatsheet windowrulev2 = stayfocused, class:net.jeena.Cheatsheet -