From 7c85a26f5aab7dc02367099c31094f9d6890c4b3 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Mon, 8 Dec 2025 16:21:47 +0100 Subject: [PATCH] hyprland config not yet working in v0.52.1 wait for update, then revert this commit --- modules/hm/hyprland.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index 9f66b94..ed1f9e1 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -101,25 +101,26 @@ in { # Layer rules layerrule = [ - "match:namespace waybar, blur on" # Blur waybar - "match:namespace waybar, ignore_alpha 0.5" - "match:namespace hyprpicker, no_anim on" # fix screenshot border visible - "match:namespace selection, no_anim on" # fix screenshot border visible + "blur, waybar" # Blur waybar + "ignorezero, waybar" + "ignorealpha 0.5, waybar" + "noanim, hyprpicker" # fix screenshot border visible + "noanim, selection" # fix screenshot border visible ]; # Window rules windowrule = [ # Nice transparency for some apps (unless in fullscreen) - "match:class ^(cursor)$, match:fullscreen false, opacity 0.9" - "match:class ^(firefox)$, match:fullscreen false, opacity 0.9" - "match:class ^(GitKraken)$, match:fullscreen false, opacity 0.9" - "match:class ^(obsidian)$, match:fullscreen false, opacity 0.9" + "opacity 0.9,fullscreen:0,class:^(cursor)$" + "opacity 0.9,fullscreen:0,class:^(firefox)$" + "opacity 0.9,fullscreen:0,class:^(GitKraken)$" + "opacity 0.9,fullscreen:0,class:^(obsidian)$" # Ensure hyprland tearing on games - "match:class ^(steam_app)$, immediate on" + "immediate,class:^(steam_app)$" # Keep Rofi focused - "match:class ^(Rofi)$, stay_focused on" + "stayfocused, class:^(Rofi)$" ]; # Bindings