From a52cc3a427a5a98258dfa26396ded4a4ae474c15 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Mon, 3 Aug 2026 16:58:38 +0200 Subject: [PATCH] extensions from laptop --- .config/hypr/hyprland.lua | 8 ++++++++ .config/hypr/machine.lua##class.arch_laptop | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index 98ef9d1..2b50e6a 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -46,6 +46,14 @@ hl.config({ }, }) +-- Three-finger horizontal swipes change workspaces; touchscreens remain excluded +-- by Hyprland's default workspace_swipe_touch = false behavior. +hl.gesture({ + fingers = 3, + direction = "horizontal", + action = "workspace", +}) + -- Dynamically hide the border when a workspace has exactly one tiled app. hl.workspace_rule({ workspace = "w[t1]", diff --git a/.config/hypr/machine.lua##class.arch_laptop b/.config/hypr/machine.lua##class.arch_laptop index 9a0fa53..1345439 100644 --- a/.config/hypr/machine.lua##class.arch_laptop +++ b/.config/hypr/machine.lua##class.arch_laptop @@ -3,7 +3,18 @@ return { input = { touchpad = { + -- Standard laptop behavior: one/two/three-finger taps map to + -- left/right/middle click, and a second tap held down starts a drag. + tap_to_click = true, + tap_button_map = "lrm", + tap_and_drag = true, + drag_lock = false, + clickfinger_behavior = true, + disable_while_typing = true, + + -- Preserve natural two-finger scrolling at the default sensitivity. natural_scroll = true, + scroll_factor = 1.0, }, }, monitors = {},