diff options
Diffstat (limited to 'niri/cfg')
| -rw-r--r-- | niri/cfg/looknfeel.kdl | 65 |
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 +} |
