niri blur

This commit is contained in:
EdenQwQ 2026-02-20 12:24:20 +08:00
parent 9f15e013e2
commit e1fc70044c
6 changed files with 64 additions and 34 deletions

View file

@ -98,13 +98,13 @@
matches = [
{ is-focused = true; }
];
opacity = 0.95;
opacity = 0.92;
}
{
matches = [
{ is-focused = false; }
];
opacity = 0.85;
opacity = 0.75;
}
{
matches = [

View file

@ -4,8 +4,40 @@ let
extraConfig =
# kdl
''
blur {
passes 3
offset 3
noise 0.02
saturation 1.5
}
window-rule {
background-effect {
xray true
blur {
on
}
}
}
layer-rule {
match namespace="launcher"
background-effect {
xray false
blur {
on
}
}
}
layer-rule {
match namespace="noctalia-bar-content-*"
background-effect {
xray false
blur {
on
}
}
}
recent-windows {
// off
open-delay-ms 150
highlight {
@ -43,9 +75,6 @@ let
# layout {
# blur {
# on
# passes 2
# radius 5
# noise 0.1
# }
# ''
]

View file

@ -87,8 +87,6 @@
}
{
id = "ControlCenter";
customIconPath = "";
icon = "";
useDistroLogo = false;
}
];

View file

@ -37,7 +37,7 @@ with config.lib.stylix.colors;
prompt-text = "Can I have a"
prompt-padding = 15
background-color = #${base00}
background-color = #${base00}dd
text-color = #${base05}
prompt-color = #${base00}
@ -77,7 +77,7 @@ with config.lib.stylix.colors;
# font = Comic Mono Nerd Font
font = Hug Me Tight
prompt-padding = 15
background-color = #${base00}aa
background-color = #${base00}99
text-color = #${base05}
prompt-color = #${base0B}
selection-color = #${base0E}