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; + }; }