46 lines
1.1 KiB
Lua
46 lines
1.1 KiB
Lua
---------------
|
|
---- INPUT ----
|
|
---------------
|
|
-- Version 1
|
|
-- Last change: Sun 2026-06-14 using Hyprland v0.55.3-1
|
|
-- Git repo: https://git.fennek.xyz/fennek182/dotfiles
|
|
|
|
hl.config({
|
|
input = {
|
|
--- keyboard
|
|
kb_layout = "de",
|
|
kb_variant = "",
|
|
kb_model = "",
|
|
kb_options = "",
|
|
kb_rules = "",
|
|
repeat_delay = 180, -- default: 600 (ms) - was 200ms until Wed 2026-05-20
|
|
repeat_rate = 35, -- default: 25 (repeats per second)
|
|
|
|
--- mouse
|
|
follow_mouse = 1,
|
|
accel_profile = "flat",
|
|
sensitivity = 0, -- -1.0 - 1.0, 0 means no modification.
|
|
|
|
--- touchpad
|
|
touchpad = {
|
|
natural_scroll = true,
|
|
middle_button_emulation = true,
|
|
},
|
|
},
|
|
})
|
|
|
|
-- ========== gestures ==========
|
|
hl.gesture({
|
|
fingers = 3,
|
|
direction = "horizontal",
|
|
action = "workspace"
|
|
})
|
|
|
|
-- ========== devices ==========
|
|
-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Devices/ for more
|
|
|
|
hl.device({
|
|
name = "ergo-m575-mouse",
|
|
accel_profile = "adaptive",
|
|
})
|