Convert hyprland config to lua

This commit is contained in:
Sem
2026-05-21 00:08:15 +02:00
parent 6dfd4eac43
commit 5be218807c
26 changed files with 1133 additions and 12 deletions

34
hypr/input.lua Normal file
View File

@@ -0,0 +1,34 @@
--############
--## INPUT ###
--############
-- https://wiki.hypr.land/Configuring/Variables/#input
hl.gesture({
fingers = 3,
direction = "horizontal",
action = "workspace",
})
hl.device({
name = "epic-mouse-v1",
sensitivity = -0.5,
})
hl.config({
input = {
kb_layout = "us",
kb_variant = "intl",
kb_model = "",
kb_options = "",
kb_rules = "",
follow_mouse = 1,
sensitivity = -0.8, -- -1.0 - 1.0, 0 means no modification.
touchpad = {
natural_scroll = false,
},
},
-- See https://wiki.hypr.land/Configuring/Gestures
-- Example per-device config
-- See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
})