Turn on touchpad tap-to-click, natural scrolling and palm rejection
Symptom
Fresh Hyprland/Omarchy install: the touchpad moves the cursor but tapping does nothing (you must physically press the pad), scrolling goes the "wrong" way, the pad fires clicks while you type, and three-finger swipes between workspaces don't work.
Cause
Hyprland's libinput defaults are conservative and its gesture bindings are opt-in. tap_to_click defaults on but natural_scroll is off, clickfinger_behavior is off, drag_3fg is off, and no gestures are bound unless you declare them.
Fix
-- ~/.config/hypr/hyprland.lua
hl.config({
input = {
touchpad = {
tap_to_click = true,
tap_and_drag = true,
drag_lock = 1,
natural_scroll = true,
disable_while_typing = true,
scroll_factor = 0.4,
middle_button_emulation = true,
tap_button_map = "lrm", -- 1/2/3 fingers = Left/Right/Middle
drag_3fg = 1, -- 1 = three-finger drag, 2 = four-finger
},
},
})
hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" })
hl.gesture({ fingers = 4, direction = "up", action = "fullscreen" })
hl.gesture({ fingers = 3, direction = "down", mods = "ALT", action = "close" })
hyprctl reload
On Hyprland 0.54 and older the same settings live in a hyprlang input { touchpad { ... } } block with gesture = 3, horizontal, workspace lines.
To tune one specific pad, get its name and use a per-device block:
hyprctl devices
hl.device({ name = "elan1200:00-04f3:3090-touchpad", sensitivity = -0.2, natural_scroll = true })
Verify
hyprctl getoption input:touchpad:tap_to_click returns 1. A single-finger tap clicks, a three-finger horizontal swipe changes workspace, and typing does not generate stray clicks.