diff options
| author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2026-05-01 13:32:14 +0300 |
|---|---|---|
| committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2026-05-01 13:32:14 +0300 |
| commit | 38e654d20d2ca2857dfb245fd56f7c0bb426fd04 (patch) | |
| tree | ba976f18ab08c46ddfe6b462aa6260eeddd86ae2 /dotfiles | |
| parent | 7824704b5a4c9e323aee270e5877572694174fda (diff) | |
| download | swayrice-38e654d20d2ca2857dfb245fd56f7c0bb426fd04.tar.gz swayrice-38e654d20d2ca2857dfb245fd56f7c0bb426fd04.zip | |
niri: config blur
Also change alacritty's opacity for the blur to apply on the terminal
windows.
Diffstat (limited to 'dotfiles')
| -rw-r--r-- | dotfiles/.config/alacritty/alacritty.toml | 2 | ||||
| -rw-r--r-- | dotfiles/.config/niri/config.kdl | 18 |
2 files changed, 18 insertions, 2 deletions
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 { |
