From 38e654d20d2ca2857dfb245fd56f7c0bb426fd04 Mon Sep 17 00:00:00 2001 From: Yaroslav de la Peña Smirnov Date: Fri, 1 May 2026 13:32:14 +0300 Subject: niri: config blur Also change alacritty's opacity for the blur to apply on the terminal windows. --- dotfiles/.config/alacritty/alacritty.toml | 2 +- dotfiles/.config/niri/config.kdl | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'dotfiles/.config') diff --git a/dotfiles/.config/alacritty/alacritty.toml b/dotfiles/.config/alacritty/alacritty.toml index 93aaf56..a91ca9b 100644 --- a/dotfiles/.config/alacritty/alacritty.toml +++ b/dotfiles/.config/alacritty/alacritty.toml @@ -19,7 +19,7 @@ multiplier = 10 [window] blur = true dynamic_padding = true -opacity = 1 +opacity = 0.94 padding = { x = 2, y = 2 } [[hints.enabled]] diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index c55563f..a2707ab 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -287,6 +287,17 @@ layer-rule { shadow { on; } } +layer-rule { + match layer="top" + match layer="overlay" + match namespace="notifications" + match namespace="rofi" + + background-effect { + xray false + } +} + // Work around WezTerm's initial configure bug // by setting an empty default-column-width. window-rule { @@ -306,11 +317,16 @@ window-rule { } window-rule { - match app-id="Alacritty" + match app-id=r#"^[aA]+lacritty"# match app-id="Mattermost" match app-id="org.telegram.desktop" default-column-width { fixed 770; } + + background-effect { + blur true + xray false + } } window-rule { -- cgit v1.3