From 4211f5df04cfe2bab299e6308170741206d3cbf7 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Sat, 16 May 2026 10:56:33 +0800 Subject: [PATCH] feat: Add blur configuration for niri --- home/david/modules/programs/niri/config.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/david/modules/programs/niri/config.nix b/home/david/modules/programs/niri/config.nix index ac46e76..d0bd502 100644 --- a/home/david/modules/programs/niri/config.nix +++ b/home/david/modules/programs/niri/config.nix @@ -584,6 +584,12 @@ (flag "off") ]) ]) + (plain "blur" [ + (leaf "passes" [4]) + (leaf "offset" [4]) + (leaf "noise" [0.02]) + (leaf "saturation" [1.0]) + ]) ] # others ++ ( let @@ -600,6 +606,11 @@ (match [{app-id = "^org\\.gnome\\.World\\.Secrets$";}]) (leaf "block-out-from" ["screen-capture"]) ]) + (window-rule [ + (plain "background-effect" [ + (leaf "blur" [true]) + ]) + ]) (window-rule [ (match [{is-active = true;}]) (leaf "opacity" [1.0]) @@ -614,6 +625,7 @@ (match [{app-id = "^com\\.mitchellh\\.ghostty$";}]) (match [{app-id = "^neovide$";}]) (leaf "draw-border-with-background" [false]) + (leaf "opacity" [0.65]) ]) (window-rule [ (match [{app-id = "^org\\.kde\\.polkit-kde-authentication-agent-1$";}])