summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-05-02 23:19:40 +0530
committerryukamish <[email protected]>2026-05-02 23:19:40 +0530
commit8e4210d13689187fd0d03c6314420327f4b0cb5d (patch)
tree84dd0ad8c4820b5b5048bf5ac60813fd0ac98180 /niri
parent56522043e0d1532eee5a27e5f2220c7a9739e0d0 (diff)
add: blur the window manager and apps
Diffstat (limited to 'niri')
-rw-r--r--niri/cfg/looknfeel.kdl65
1 files changed, 65 insertions, 0 deletions
diff --git a/niri/cfg/looknfeel.kdl b/niri/cfg/looknfeel.kdl
index 29b6e30..6d40bc3 100644
--- a/niri/cfg/looknfeel.kdl
+++ b/niri/cfg/looknfeel.kdl
@@ -5,3 +5,68 @@ animations {
// Slow down all animations by this factor. Values below 1 speed them up instead.
// slowdown 3.0
}
+
+blur {
+ on
+ passes 5
+ offset 3.0
+ noise 0.02
+ saturation 1.5
+}
+
+// Enable blur behind the Alacritty terminal.
+window-rule {
+ match app-id="^kitty$"
+ match app-id="TUI.float"
+
+ background-effect {
+ blur true
+ }
+}
+
+// Enable blur behind the rofi.
+layer-rule {
+ match namespace="^rofi$"
+
+ background-effect {
+ blur true
+ }
+}
+
+layer-rule {
+ match namespace="waybar"
+ match layer="top"
+
+ // Main bar properties
+ background-effect {
+ xray true // Use efficient x-ray blur or false for normal blur
+ blur true
+ noise 0.05
+ saturation 3
+ }
+
+ // Optional: Blur for Waybar popups (menus)
+ popups {
+ opacity 0.5
+ background-effect {
+ xray true
+ blur true
+ noise 0.05
+ saturation 3
+ }
+ }
+}
+
+layer-rule {
+ // Matches the rofi namespace
+ match namespace="^rofi$"
+
+ // Enables the blur
+ background-effect {
+ blur true
+ }
+
+ // IMPORTANT: Match this to your Rofi theme's border-radius
+ // If your Rofi theme has 12px corners, set it here too.
+ geometry-corner-radius 12
+}