From 413db615c9b28adc0b28bec89d15e0f23e35fff4 Mon Sep 17 00:00:00 2001 From: spl3g Date: Fri, 13 Sep 2024 11:50:08 +0300 Subject: fix(hyprland): update a windowrule for firefox's Picture-in-Picture --- home-manager/homeModules/hyprland.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/homeModules/hyprland.nix b/home-manager/homeModules/hyprland.nix index f500a52..3bab526 100644 --- a/home-manager/homeModules/hyprland.nix +++ b/home-manager/homeModules/hyprland.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, ... }: +{ pkgs, lib, config, inputs, ... }: { imports = [ @@ -38,7 +38,7 @@ wayland.windowManager.hyprland = { enable = true; - package = pkgs.hyprland; + package = pkgs.unstable.hyprland; settings = { "$scripts" = "${./attachments/hypr-scripts}"; "$mainMod" = "SUPER"; @@ -104,7 +104,7 @@ "float, title:^(Firrfox — Sharing Indicator)$" "noborder, title:^(Firefox — Sharing Indicator)$" "rounding 0, title:^(Firefox — Sharing Indicator)$" - "float, title:^(firefox)$, title:^(Picture-in-Picture)$" + "float, class:^(firefox)$, title:^(Picture-in-Picture)$" "pin, title:^(firefox)$, title:^(Picture-in-Picture)$" "float, title:^(Save File)$" "pin, title:^(Save File)$" -- cgit v1.2.3