fix(home-manager): gtk cursors are now lowercase (#212)

This commit is contained in:
Isabel 2024-06-10 20:54:48 +01:00 committed by GitHub
parent 0cdfa29b90
commit 6336fb8ba1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,11 +76,10 @@ in
cursorTheme =
let
flavorUpper = ctp.mkUpper cfg.cursor.flavor;
accentUpper = ctp.mkUpper cfg.cursor.accent;
in
lib.mkIf cfg.cursor.enable {
name = "Catppuccin-${flavorUpper}-${accentUpper}-Cursors";
name = "catppuccin-${cfg.cursor.flavor}-${cfg.cursor.accent}-cursors";
package = pkgs.catppuccin-cursors.${cfg.cursor.flavor + accentUpper};
};