Hyprland hardware cursor fix

This commit is contained in:
DashieTM 2025-05-07 13:01:54 +02:00
parent 4d5638baca
commit 207b5165a3

View file

@ -27,7 +27,6 @@ in {
# main monitor # main monitor
"${config.conf.defaultMonitor},${config.conf.defaultMonitorMode},0x0,${config.conf.defaultMonitorScale}" "${config.conf.defaultMonitor},${config.conf.defaultMonitorMode},0x0,${config.conf.defaultMonitorScale}"
# all others # all others
",highrr,auto,1"
]; ];
example = ["DP-1,3440x1440@180,2560x0,1,vrr,0"]; example = ["DP-1,3440x1440@180,2560x0,1,vrr,0"];
type = with lib.types; listOf str; type = with lib.types; listOf str;
@ -298,7 +297,7 @@ in {
cursor = { cursor = {
enable_hyprcursor = true; enable_hyprcursor = true;
no_hardware_cursors = lib.mkIf config.mods.gpu.nvidia.enable true; no_hardware_cursors = lib.mkDefault config.mods.gpu.nvidia.enable;
# done with nix, this would break the current setup otherwise # done with nix, this would break the current setup otherwise
sync_gsettings_theme = false; sync_gsettings_theme = false;
}; };