Convert hyprland config to lua
This commit is contained in:
34
hypr/input.lua
Normal file
34
hypr/input.lua
Normal 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
|
||||
})
|
||||
Reference in New Issue
Block a user