From 8a9569bb769fc6acb89ff096f2d4cb24c03fdd86 Mon Sep 17 00:00:00 2001 From: kenji Date: Wed, 31 Dec 2025 13:26:43 -0600 Subject: [PATCH] add(cursor): added rose pine hyprcursor --- apps/hyprland/hypr/env.nix | 2 ++ apps/hyprland/hypr/misc.nix | 11 +++++++++++ modules/home/theme.nix | 8 ++++++++ 3 files changed, 21 insertions(+) diff --git a/apps/hyprland/hypr/env.nix b/apps/hyprland/hypr/env.nix index 44c8f31..83674fc 100644 --- a/apps/hyprland/hypr/env.nix +++ b/apps/hyprland/hypr/env.nix @@ -4,6 +4,8 @@ ]; wayland.windowManager.hyprland.settings = { env = [ + "HYPRCURSOR_THEME,rose-pine-hyprcursor" + "HYPRCURSOR_SIZE,24" "GUM_CONFIRM_PROMPT_FOREGROUND,6" "GUM_CONFIRM_SELECTED_FOREGROUND,0" "GUM_CONFIRM_SELECTED_BACKGROUND,2" diff --git a/apps/hyprland/hypr/misc.nix b/apps/hyprland/hypr/misc.nix index 22d3340..033b115 100644 --- a/apps/hyprland/hypr/misc.nix +++ b/apps/hyprland/hypr/misc.nix @@ -7,5 +7,16 @@ anr_missed_pings = 3; new_window_takes_over_fullscreen = 1; }; + + cursor = { + no_hardware_cursors = true; + no_break_fs_vrr = true; + min_refresh_rate = 48; + }; + + render = { + direct_scanout = true; + cm_enabled = true; + }; }; } diff --git a/modules/home/theme.nix b/modules/home/theme.nix index 4ba8417..277bec4 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -1,5 +1,13 @@ +{ pkgs, ... }: { imports = [ ../../apps/matugen ]; + + home.pointerCursor = { + gtk.enable = true; + package = pkgs.rose-pine-hyprcursor; + name = "rose-pine-hyprcursor"; + size = 24; + }; }