Change default cursor to catppuccin

This commit is contained in:
DashieTM 2024-11-30 13:02:31 +01:00
parent 2073868189
commit 5f60c3ba91
5 changed files with 20 additions and 10 deletions

View file

@ -63,6 +63,11 @@
disable-user-extensions = false;
enabled-extensions = map (extension: extension.extensionUuid) defaultExtensions;
};
"org/gnome/desktop/interface" = {
cursor-theme = "${config.mods.stylix.cursor.name}";
cursor-size = config.mods.stylix.cursor.size;
color-scheme = "prefer-dark";
};
};
};
}

View file

@ -45,6 +45,13 @@
}
// lib.optionalAttrs (options ? home.packages) {
services.gnome-keyring.enable = true;
dconf.settings = {
"org/gnome/desktop/interface" = {
cursor-theme = "${config.mods.stylix.cursor.name}";
cursor-size = config.mods.stylix.cursor.size;
color-scheme = "prefer-dark";
};
};
home = {
packages =
let

View file

@ -106,8 +106,6 @@
# should technically be the same, but this is configured instead in order to provide a decent out of the box login experience.
environment.etc."greetd/hyprgreet.conf".text = ''
exec-once=gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
monitor=${config.mods.greetd.monitor},${config.mods.greetd.resolution},0x0,${config.mods.greetd.scale}
monitor=,disable
@ -117,15 +115,13 @@
force_no_accel = true
}
cursor {
enable_hyprcursor = false
}
misc {
disable_splash_rendering = false
disable_hyprland_logo = false
}
"HYPRCURSOR_THEME,${config.mods.stylix.cursor.name}"
"HYPRCURSOR_SIZE,${toString config.mods.stylix.cursor.size}"
env=XCURSOR_THEME,${config.mods.stylix.cursor.name}
env=XCURSOR_SIZE,${toString config.mods.stylix.cursor.size}
env=QT_QPA_PLATFORMTHEME,qt5ct

View file

@ -298,8 +298,7 @@ in
};
cursor = {
# conversion seems to be borked right now, i want a smooth bibata :(
enable_hyprcursor = false;
enable_hyprcursor = true;
no_hardware_cursors = lib.mkIf config.mods.gpu.nvidia.enable true;
# no_break_fs_vrr = true;
};

View file

@ -50,8 +50,11 @@
};
cursor = lib.mkOption {
default = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
# broken
#package = pkgs.bibata-cursors;
#name = "Bibata-Modern-Classic";
package = pkgs.catppuccin-cursors.mochaLavender;
name = "catppuccin-mocha-lavender-cursors";
size = 24;
};
example = { };