From 0241cfa63f9a4a48d88e55bbc3dc266bc0087ac3 Mon Sep 17 00:00:00 2001 From: Jeena Date: Fri, 26 Sep 2025 13:08:58 +0900 Subject: [PATCH 1/2] 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 - From 5c19b4943e1c9c372216307eba21c5f5853f0e33 Mon Sep 17 00:00:00 2001 From: Jeena Date: Fri, 26 Sep 2025 13:11:15 +0900 Subject: [PATCH 2/2] Comment out geastures After an update the geasture was invalid, because I don't use a trackpad but just the mouse I am uncommenting it. --- hypr/hyprland.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 868de55..5b4cbcd 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -203,9 +203,9 @@ input { } # https://wiki.hyprland.org/Configuring/Variables/#gestures -gestures { - workspace_swipe = false -} +# gestures { +# workspace_swipe = false +# } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more