fix: sddm theme

This commit is contained in:
danny 2025-10-16 21:20:21 +08:00
parent fc9b14e0d2
commit d273765b99
9 changed files with 65 additions and 106 deletions

View file

@ -4,7 +4,12 @@
}:
let
inherit (pkgs) writeShellScript;
inherit (lib) replaceString optionalString;
inherit (lib)
replaceString
optionalString
toUpper
substring
;
inherit (builtins) toJSON;
in
{
@ -91,4 +96,6 @@ in
// conf
);
};
capitalize = text: "${toUpper (substring 0 1 text)}${substring 1 (-1) text}";
}