Restore touchpad right-click after updating to Omarchy 4.0
Symptom
After updating to Omarchy 4.0, touchpad right-click stopped working entirely. Neither a two-finger tap nor a click in the lower-right corner produces a context menu, in any application (Chromium, Thunderbird, GTK apps). libinput debug-events still shows BTN_RIGHT being generated, so the hardware and libinput are fine.
Cause
Omarchy's migration from the old hyprlang .conf format to the Lua config carried over clickfinger_behavior as a commented-out line. The old hyprlang parser had a working default for the unset state. The Lua path does not, and leaving it unset breaks right-click interpretation entirely.
Fix
Set the value explicitly in your Hyprland Lua config rather than leaving it commented out:
-- ~/.config/hypr/hyprland.lua (or your Omarchy input override file)
hl.config({
input = {
touchpad = {
clickfinger_behavior = false, -- click position decides the button (bottom-right = RMB)
tap_to_click = true,
scroll_factor = 0.4,
},
},
})
Set it to true instead if you prefer the macOS-style behaviour where 1/2/3 fingers anywhere on the pad map to LMB/RMB/MMB:
clickfinger_behavior = true,
Then:
hyprctl reload
Check for the leftover commented line and delete or uncomment it:
grep -rn 'clickfinger_behavior' ~/.config/hypr/
Verify
hyprctl getoption input:touchpad:clickfinger_behavior returns the value you set, and a two-finger tap opens a context menu in a browser.