mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 12:55:33 +08:00
niri blur wallpaper as backdrop
This commit is contained in:
parent
2527621d28
commit
02a760f6c8
5 changed files with 32 additions and 14 deletions
|
|
@ -5,19 +5,21 @@ let
|
|||
# kdl
|
||||
''
|
||||
overview {
|
||||
zoom 0.36
|
||||
backdrop-color "${base02}"
|
||||
}
|
||||
zoom 0.36
|
||||
backdrop-color "${base02}"
|
||||
}
|
||||
layer-rule {
|
||||
match namespace="wallpaper"
|
||||
place-within-backdrop true
|
||||
}
|
||||
'';
|
||||
finalNiriConfig =
|
||||
builtins.replaceStrings
|
||||
[
|
||||
"output \"${config.lib.monitors.mainMonitorName}\" {"
|
||||
"background-color \"${base01}\""
|
||||
]
|
||||
[
|
||||
"output \"${config.lib.monitors.mainMonitorName}\" {\nfocus-at-startup"
|
||||
"background-color \"${base01}\""
|
||||
]
|
||||
config.programs.niri.finalConfig
|
||||
+ "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue