diff --git a/flake.lock b/flake.lock index 043ee44c..4635dedf 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index 28f35d36..4254fb0d 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,13 @@ }; statix.enable = true; - typos.enable = true; + typos = { + enable = true; + settings.configuration = '' + [default.extend-words] + criterias="criterias" + ''; + }; yamllint.enable = true; }; diff --git a/modules/mako/hm.nix b/modules/mako/hm.nix index d24890f7..d7971e31 100644 --- a/modules/mako/hm.nix +++ b/modules/mako/hm.nix @@ -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; + }; + }; }; } );