38 lines
901 B
Nix
Raw Normal View History

{ pkgs, ... }:
let
cursorSize = 24;
cursorTheme = "rose-pine-hyprcursor";
cursorDir = "hyprcursors";
in
{
# TODO remove in favor of Catppuccin cursors
2025-01-06 21:18:45 +01:00
home = {
packages = with pkgs; [
hyprcursor
];
2025-01-06 21:18:45 +01:00
file = {
".local/share/icons/${cursorTheme}/manifest.hl".text = ''
name = ${cursorTheme}
description = BreezeX remixed with Rose Pine remixed to Hyprcursor format
version = 0.3.2
cursors_directory = ${cursorDir}
'';
".local/share/icons/${cursorTheme}/${cursorDir}" = {
source = ./${cursorDir};
2025-01-06 21:18:45 +01:00
recursive = true;
};
};
sessionVariables = {
XCURSOR_SIZE = cursorSize;
HYPRCURSOR_SIZE = cursorSize;
HYPRCURSOR_THEME = cursorSize;
};
};
2025-01-06 21:18:45 +01:00
wayland.windowManager.hyprland.settings.exec-once = [
"hyprctl setcursor $HYPRCURSOR_THEME $HYPRCURSOR_SIZE" # Set cursor
];
}