update niri

This commit is contained in:
EdenQwQ 2025-05-03 13:39:14 +08:00
parent ed87b2c98e
commit 0052d481d5
2 changed files with 6 additions and 5 deletions

6
flake.lock generated
View file

@ -754,11 +754,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1745571618,
"narHash": "sha256-yim78eRKNJOvnEDjRAd5iGwulXNpoMJQqcyLmwZ8Ejo=",
"lastModified": 1746124654,
"narHash": "sha256-LmhkAt2KLvf8lp+kEUQuTFmmv7iXO8IkwwSaPasfXJw=",
"owner": "YalTeR",
"repo": "niri",
"rev": "85cd64e83017459f0a6edfd7b91ba31d70b0ef17",
"rev": "6c9705dd4b2eaba25f024d1a3efd7943fd393632",
"type": "github"
},
"original": {

View file

@ -1,14 +1,15 @@
{ config, ... }:
with config.lib.stylix.colors.withHashtag;
let
extraConfig =
# kdl
''
overview {
zoom 0.36
backdrop-color "${base02}"
}
'';
finalNiriConfig =
with config.lib.stylix.colors.withHashtag;
builtins.replaceStrings
[
"output \"${config.lib.monitors.mainMonitorName}\" {"
@ -16,7 +17,7 @@ let
]
[
"output \"${config.lib.monitors.mainMonitorName}\" {\nfocus-at-startup"
"background-color \"${base01}\"\n backdrop-color \"${base02}\""
"background-color \"${base01}\""
]
config.programs.niri.finalConfig
+ "\n"