fix(home-manager): only enable pointerCursor by default on linux (#248)
This commit is contained in:
parent
3f4607481b
commit
63e0859743
1 changed files with 8 additions and 3 deletions
|
@ -17,9 +17,14 @@ let
|
|||
);
|
||||
in
|
||||
{
|
||||
options.catppuccin.pointerCursor = ctp.mkCatppuccinOpt { name = "pointer cursors"; } // {
|
||||
accent = ctp.mkBasicOpt "accent" cursorAccentType "cursors";
|
||||
};
|
||||
options.catppuccin.pointerCursor =
|
||||
ctp.mkCatppuccinOpt {
|
||||
name = "pointer cursors";
|
||||
enableDefault = config.catppuccin.enable && pkgs.stdenv.hostPlatform.isLinux;
|
||||
}
|
||||
// {
|
||||
accent = ctp.mkBasicOpt "accent" cursorAccentType "cursors";
|
||||
};
|
||||
|
||||
config.home.pointerCursor = mkIf cfg.enable {
|
||||
name = "catppuccin-${cfg.flavor}-${cfg.accent}-cursors";
|
||||
|
|
Loading…
Reference in a new issue