From ea3485f5c5dac7f89562db741bf981b2b743d01c Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 10 Sep 2023 13:30:39 +0100 Subject: Add window rule for PiP windows --- homes/floppydisk/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'homes/floppydisk/hyprland.nix') diff --git a/homes/floppydisk/hyprland.nix b/homes/floppydisk/hyprland.nix index 8e7084f..697c81a 100644 --- a/homes/floppydisk/hyprland.nix +++ b/homes/floppydisk/hyprland.nix @@ -17,6 +17,13 @@ "HDMI-A-1,1920x1080,0x0,1" ]; + windowrulev2 = [ + "float, title:^(Picture-in-Picture)$" + "pin, title:^(Picture-in-Picture)$" + "move 67% 72%, title:^(Picture-in-Picture)$" + "size 33% 28%, title:^(Picture-in-Picture)$" + ]; + input = { kb_layout = "us"; follow_mouse = 1; -- cgit v1.2.3-54-g00ecf