mako: update to new home-manager module (#1211)
Link: https://github.com/danth/stylix/pull/1211 Closes: https://github.com/danth/stylix/issues/1210
This commit is contained in:
parent
e51b3e64f9
commit
b631dffa61
3 changed files with 29 additions and 21 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -224,11 +224,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1746040799,
|
||||
"narHash": "sha256-osgPX/SzIpkR50vev/rqoTEAVkEcOWXoQXmbzsaI4KU=",
|
||||
"lastModified": 1746317522,
|
||||
"narHash": "sha256-/jZ4Wd4HHUEWPSlNj48k1E4Mh+1fUbwI/vSlPPIMG3U=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "5f217e5a319f6c186283b530f8c975e66c028433",
|
||||
"rev": "621986fed37c5d0cb8df010ed8369694dc47c09b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -141,7 +141,13 @@
|
|||
};
|
||||
|
||||
statix.enable = true;
|
||||
typos.enable = true;
|
||||
typos = {
|
||||
enable = true;
|
||||
settings.configuration = ''
|
||||
[default.extend-words]
|
||||
criterias="criterias"
|
||||
'';
|
||||
};
|
||||
yamllint.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -20,23 +20,25 @@
|
|||
in
|
||||
with config.lib.stylix.colors.withHashtag;
|
||||
{
|
||||
backgroundColor = base00 + makoOpacity;
|
||||
borderColor = base0D;
|
||||
textColor = base05;
|
||||
progressColor = "over ${base02}";
|
||||
font = "${fonts.sansSerif.name} ${toString fonts.sizes.popups}";
|
||||
# I wish the mako hm module was like the dunst one
|
||||
extraConfig = ''
|
||||
[urgency=low]
|
||||
background-color=${base00}${makoOpacity}
|
||||
border-color=${base0D}
|
||||
text-color=${base0A}
|
||||
|
||||
[urgency=high]
|
||||
background-color=${base00}${makoOpacity}
|
||||
border-color=${base0D}
|
||||
text-color=${base08}
|
||||
'';
|
||||
settings = {
|
||||
background-color = base00 + makoOpacity;
|
||||
border-color = base0D;
|
||||
text-color = base05;
|
||||
progress-color = "over ${base02}";
|
||||
font = "${fonts.sansSerif.name} ${toString fonts.sizes.popups}";
|
||||
};
|
||||
criterias = {
|
||||
"urgency=low" = {
|
||||
background-color = "${base00}${makoOpacity}";
|
||||
border-color = base0D;
|
||||
text-color = base0A;
|
||||
};
|
||||
"urgency=high" = {
|
||||
background-color = "${base00}${makoOpacity}";
|
||||
border-color = base0D;
|
||||
text-color = base08;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue