From 5992e01d25c37028c7e2b5fa522dea9511990a75 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 16 Apr 2024 12:37:02 -0400 Subject: [PATCH] hyprland: added rules for firefox picture in picture --- homeManagerModules/desktopEnv/hypr/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeManagerModules/desktopEnv/hypr/default.nix b/homeManagerModules/desktopEnv/hypr/default.nix index 89b28a9f..5ff686f6 100644 --- a/homeManagerModules/desktopEnv/hypr/default.nix +++ b/homeManagerModules/desktopEnv/hypr/default.nix @@ -245,6 +245,12 @@ } # Window Rules + + ## Firefox picture-in-picture + windowrulev2 = float, class:^(firefox)$, title:^(Picture-in-Picture)$ + windowrulev2 = pin, class:^(firefox)$, title:^(Picture-in-Picture)$ + windowrulev2 = move 75% 20%, class:^(firefox)$, title:^(Picture-in-Picture)$ + windowrulev2 = center(1),class:(blueberry.py) windowrulev2 = center(1),class:(nmtui) windowrulev2 = center(1),class:(pavucontrol)