feat: Add blur configuration for niri

This commit is contained in:
ulic-youthlic 2026-05-16 10:56:33 +08:00
parent 3ed5c5a9a3
commit 4211f5df04
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -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$";}])