From 1063d950ceb67b4f265c18c21a76435a89fd4ba5 Mon Sep 17 00:00:00 2001 From: liv Date: Wed, 21 Aug 2024 19:10:42 +0200 Subject: [PATCH] add hyprland window rules for steam --- home/features/desktop/hyprland/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/features/desktop/hyprland/default.nix b/home/features/desktop/hyprland/default.nix index 639a955..67bb2ec 100644 --- a/home/features/desktop/hyprland/default.nix +++ b/home/features/desktop/hyprland/default.nix @@ -51,6 +51,13 @@ "ignorezero,^(wofi)$" ]; + windowrulev2 = let + steam = "title:^()$,class:^(steam)$"; + in [ + "stayfocused, ${steam}" + "minsize 1 1, ${steam}" + ]; + decoration = { active_opacity = 1.0; inactive_opacity = 0.85;