From 814080cc046d21a780e3f821a821fc04e271f285 Mon Sep 17 00:00:00 2001 From: The_miro Date: Tue, 2 Jun 2026 15:43:48 +0200 Subject: [PATCH] feat(installer): install evdev-rce for touchscreen long-press right-click Reverts incorrect touch_long_press_time option (not a real Hyprland setting). Adds evdev-right-click-emulation install + systemd enable to the tablet (T) eww bar selection in the hyprlua installer. Co-Authored-By: Claude Sonnet 4.6 --- desktopenvs/hyprlua/hypr-usr/input.lua | 1 - setup/modules/Desktop-Environments/hyprlua.sh | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/desktopenvs/hyprlua/hypr-usr/input.lua b/desktopenvs/hyprlua/hypr-usr/input.lua index ee5d562..618c643 100644 --- a/desktopenvs/hyprlua/hypr-usr/input.lua +++ b/desktopenvs/hyprlua/hypr-usr/input.lua @@ -9,7 +9,6 @@ hl.config({ left_handed = true, follow_mouse = 1, sensitivity = 0, - touch_long_press_time = 400, touchpad = { natural_scroll = false, }, diff --git a/setup/modules/Desktop-Environments/hyprlua.sh b/setup/modules/Desktop-Environments/hyprlua.sh index 8ef349d..b68e3a5 100755 --- a/setup/modules/Desktop-Environments/hyprlua.sh +++ b/setup/modules/Desktop-Environments/hyprlua.sh @@ -51,7 +51,9 @@ echo case $doit in n|N) cp -rf ~/Dotfiles/desktopenvs/hyprlua/eww/ ~/.config/ ;; p|P) cp -rf ~/Dotfiles/desktopenvs/hyprlua/eww-nobattery/ ~/.config/eww ;; - t|T) cp -rf ~/Dotfiles/desktopenvs/hyprlua/eww-touch/ ~/.config/eww ;; + t|T) cp -rf ~/Dotfiles/desktopenvs/hyprlua/eww-touch/ ~/.config/eww + yay -S evdev-right-click-emulation + sudo systemctl enable --now evdev-rce.service ;; *) warn "No valid choice — skipping EWW copy. Run manually later." ;; esac