fix(home-manager): only enable pointerCursor by default on linux (#248)

This commit is contained in:
XYenon 2024-06-29 00:42:33 +08:00 committed by GitHub
parent 3f4607481b
commit 63e0859743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,12 @@ let
);
in
{
options.catppuccin.pointerCursor = ctp.mkCatppuccinOpt { name = "pointer cursors"; } // {
options.catppuccin.pointerCursor =
ctp.mkCatppuccinOpt {
name = "pointer cursors";
enableDefault = config.catppuccin.enable && pkgs.stdenv.hostPlatform.isLinux;
}
// {
accent = ctp.mkBasicOpt "accent" cursorAccentType "cursors";
};