From eeb09b4a015ba42c011b085096b6655c56f9085a Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 21 Aug 2024 16:31:33 -0700 Subject: [PATCH] fix: move deprecated sensitivity setting --- users/youwen/linux/hyprland/common.nix | 4 +++- users/youwen/linux/hyprland/laptop/default.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index de0789b..7d42737 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -204,7 +204,6 @@ "col.inactive_border" = "rgba(b4befecc) rgba(6c7086cc) 45deg"; layout = "dwindle"; resize_on_border = "true"; - sensitivity = "0.5"; }; misc = { @@ -230,6 +229,9 @@ special = true; }; }; + input = { + sensitivity = "0.5"; + }; }; }; diff --git a/users/youwen/linux/hyprland/laptop/default.nix b/users/youwen/linux/hyprland/laptop/default.nix index 6512099..499adfd 100644 --- a/users/youwen/linux/hyprland/laptop/default.nix +++ b/users/youwen/linux/hyprland/laptop/default.nix @@ -7,7 +7,7 @@ tap-to-click = false; scroll_factor = 0.5; }; - wayland.windowManager.hyprland.settings.general.sensitivity = lib.mkForce 1.0; + wayland.windowManager.hyprland.settings.input.sensitivity = lib.mkForce 1.0; wayland.windowManager.hyprland.settings.env = [ "HYPRCURSOR_THEME,Bibata-Modern-Ice" "HYPRCURSOR_SIZE,24"