From 9816e79eecc1611a7661845d53b94097da94254c Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Wed, 18 Mar 2026 11:09:56 +0100 Subject: [PATCH] [Hyprland] Add binds to disable trackpad --- config/hypr/hyprland/general.conf | 5 +++++ config/hypr/hyprland/modal-binds/device.conf | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/config/hypr/hyprland/general.conf b/config/hypr/hyprland/general.conf index 5ecf6f7..944a203 100644 --- a/config/hypr/hyprland/general.conf +++ b/config/hypr/hyprland/general.conf @@ -54,6 +54,11 @@ input { sensitivity = 0 } +device { + name = pnp0c50:00-093a:0255-touchpad + enabled = true +} + # ── Cursors ───────────────────────────────────────────────────────── cursor { diff --git a/config/hypr/hyprland/modal-binds/device.conf b/config/hypr/hyprland/modal-binds/device.conf index d2a4cad..43a0234 100644 --- a/config/hypr/hyprland/modal-binds/device.conf +++ b/config/hypr/hyprland/modal-binds/device.conf @@ -28,6 +28,10 @@ bind = , S, submap, reset bind = CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 1920x0, 1, mirror, DP-1 && notify-send 'Set FPV goggles to mirror main screen' --app-name="Hyprctl" bind = CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 3840x0, 1 && notify-send 'Set to expand FPV goggles' --app-name="Hyprctl" +# Touchpad +bind = , T, exec, hyprctl keyword device[pnp0c50:00-093a:0255-touchpad]:enabled true +bind = SHIFT, T, exec, hyprctl keyword device[pnp0c50:00-093a:0255-touchpad]:enabled false + # ── Monitor config binds ──────────────────────────────────────────── bind = SHIFT, D, exec, hyprctl keyword monitor HDMI-A-1, 1920x1080@60, 1920x0, 1, mirror, eDP-1 && notify-send 'Set to mirror internal display' --app-name="Hyprctl"