From 226f5c531a690efcae13ae1b9bc45958bffce74d Mon Sep 17 00:00:00 2001 From: Armel van Ravels Date: Sat, 17 Jan 2026 10:07:50 +0100 Subject: [PATCH] Add opacity and blur to active/inactive windows --- wm/hyprland.nix | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/wm/hyprland.nix b/wm/hyprland.nix index 8401f57..4667f19 100644 --- a/wm/hyprland.nix +++ b/wm/hyprland.nix @@ -10,10 +10,6 @@ wayland.windowManager.hyprland = { enable = true; - extraConfig = '' - exec-once=waybar - ''; - settings = { ### MONITOR monitor = [ @@ -32,9 +28,41 @@ }; decoration = { - rounding = 5; # increase/decrease for more/less round + inactive_opacity = 0.8; + active_opacity = 0.9; + rounding = 5; + rounding_power = 2.5; + blur = { + enabled = true; + brightness = 1.0; + contrast = 1.0; + noise = 0.01; + + vibrancy = 0.2; + vibrancy_darkness = 0.5; + + passes = 4; + size = 7; + + popups = true; + popups_ignorealpha = 0.2; + }; + + shadow = { + enabled = true; + color = "rgba(00000055)"; + ignore_window = true; + offset = "0 15"; + range = 100; + render_power = 2; + scale = 0.97; + }; }; + exec-once = [ + "waybar" + ]; + ### INPUT input = { kb_layout = "us";