fix(home-manager/cursors): exclude from catppuccin.enable (#263)

This commit is contained in:
seth 2024-06-30 10:39:47 -04:00 committed by GitHub
parent ca2780d5ce
commit 9eb0610d48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,9 @@ in
options.catppuccin.pointerCursor = options.catppuccin.pointerCursor =
ctp.mkCatppuccinOpt { ctp.mkCatppuccinOpt {
name = "pointer cursors"; name = "pointer cursors";
enableDefault = config.catppuccin.enable && pkgs.stdenv.hostPlatform.isLinux; # NOTE: we exclude this from the global `catppuccin.enable` as there is no
# `enable` option in the upstream module to guard it
enableDefault = false;
} }
// { // {
accent = ctp.mkBasicOpt "accent" cursorAccentType "cursors"; accent = ctp.mkBasicOpt "accent" cursorAccentType "cursors";