2025-01-04 19:02:30 -05:00
|
|
|
self: {
|
|
|
|
lib,
|
|
|
|
osConfig,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (self.scopedPackages.${pkgs.system}) dracula;
|
|
|
|
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
|
|
|
|
cfg = osConfig.roles.desktop;
|
|
|
|
in {
|
|
|
|
config = mkIf cfg.enable {
|
2024-08-05 16:23:53 -04:00
|
|
|
home.pointerCursor = {
|
2025-01-05 22:19:36 -05:00
|
|
|
name = "Dracula-cursors";
|
2024-08-05 16:23:53 -04:00
|
|
|
package = dracula.gtk;
|
2025-01-05 22:19:36 -05:00
|
|
|
size = 24;
|
2024-08-05 16:23:53 -04:00
|
|
|
|
|
|
|
gtk.enable = true;
|
2025-01-05 22:19:36 -05:00
|
|
|
hyprcursor.enable = true;
|
2024-08-05 16:23:53 -04:00
|
|
|
};
|
|
|
|
|
2025-01-05 22:19:36 -05:00
|
|
|
# Fixes Gtk4 apps complaining about mismatched cursor size
|
2024-11-20 20:12:24 -05:00
|
|
|
wayland.windowManager.hyprland.settings = {
|
|
|
|
exec-once = [
|
2025-01-05 22:19:36 -05:00
|
|
|
"gsettings set org.gnome.desktop.interface cursor-size 30"
|
2024-11-20 20:12:24 -05:00
|
|
|
];
|
2024-08-05 16:23:53 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# For accurate stack trace
|
2025-01-04 19:02:30 -05:00
|
|
|
_file = ./default.nix;
|
2024-08-05 16:23:53 -04:00
|
|
|
}
|