Files
dotfiles/hyprland/.config/hypr/input.lua
T

32 lines
687 B
Lua

-- For all categories, see https://wiki.hypr.land/Configuring/Basics/Variables/
hl.config({
input = {
kb_layout = "us",
kb_variant = "",
kb_model = "",
kb_options = "ctrl:nocaps",
kb_rules = "",
follow_mouse = 1,
touchpad = {
natural_scroll = true,
clickfinger_behavior = true,
disable_while_typing = true,
scroll_factor = 0.5,
},
sensitivity = 0, -- -1.0 to 1.0, 0 means no modification
},
})
hl.gesture({
fingers = 3,
direction = "horizontal",
action = "workspace",
})
hl.config({
gestures = {
workspace_swipe_direction_lock = true,
workspace_swipe_direction_lock_threshold = 10,
},
})