From 9971614a64f562f07947a7bdf85665233524d8f5 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 26 May 2024 19:20:39 -0400 Subject: [PATCH] update: add laptop touchpad and gestures --- hypr/conf/keyboard.conf | 4 +++- hypr/conf/layout.conf | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/hypr/conf/keyboard.conf b/hypr/conf/keyboard.conf index e27ff8f..af4fb36 100644 --- a/hypr/conf/keyboard.conf +++ b/hypr/conf/keyboard.conf @@ -11,7 +11,9 @@ input { follow_mouse = 1 mouse_refocus=false touchpad { - natural_scroll = false + natural_scroll = ture + disable_while_typing=true + tap-to-click=true } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } diff --git a/hypr/conf/layout.conf b/hypr/conf/layout.conf index dc78a62..3692c19 100644 --- a/hypr/conf/layout.conf +++ b/hypr/conf/layout.conf @@ -12,5 +12,13 @@ master { } gestures { - workspace_swipe = false + workspace_swipe=true + workspace_swipe_fingers=3 + workspace_swipe_distance=400 + workspace_swipe_invert=true + workspace_swipe_min_speed_to_force=30 + workspace_swipe_cancel_ratio=0.5 + workspace_swipe_create_new=true + workspace_swipe_forever=true } +