From 40f47746870da34f27f874ba71ddf58b43d083e0 Mon Sep 17 00:00:00 2001 From: cnst Date: Thu, 31 Oct 2024 18:56:46 +0100 Subject: [PATCH] cursor settings --- modules/home/programs/hyprland/inputs.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/home/programs/hyprland/inputs.nix b/modules/home/programs/hyprland/inputs.nix index b01fc5ea..05df72c3 100644 --- a/modules/home/programs/hyprland/inputs.nix +++ b/modules/home/programs/hyprland/inputs.nix @@ -24,6 +24,15 @@ explicit_sync_kms = 2; direct_scanout = false; }; + + cursorSettings = + if toothpc + then { + no_hardware_cursors = true; + } + else { + no_hardware_cursors = 2; + }; in { options = { home.programs.hyprland.inputs.enable = mkEnableOption "Enables input settings in Hyprland"; @@ -88,6 +97,7 @@ in { force_zero_scaling = false; }; render = renderSettings; + cursor = cursorSettings; }; }; }