extensions from laptop
This commit is contained in:
@@ -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.
|
-- Dynamically hide the border when a workspace has exactly one tiled app.
|
||||||
hl.workspace_rule({
|
hl.workspace_rule({
|
||||||
workspace = "w[t1]",
|
workspace = "w[t1]",
|
||||||
|
|||||||
@@ -3,7 +3,18 @@
|
|||||||
return {
|
return {
|
||||||
input = {
|
input = {
|
||||||
touchpad = {
|
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,
|
natural_scroll = true,
|
||||||
|
scroll_factor = 1.0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
monitors = {},
|
monitors = {},
|
||||||
|
|||||||
Reference in New Issue
Block a user