47 lines
1.0 KiB
Lua
47 lines
1.0 KiB
Lua
hl.config({
|
|
input={
|
|
-- keyboard
|
|
kb_model = "",
|
|
kb_layout = "de",
|
|
kb_variant = "",
|
|
kb_options = "",
|
|
kb_rules = "",
|
|
kb_file = "",
|
|
numlock_by_default = true,
|
|
-- mouse
|
|
sensitivity = 0,
|
|
left_handed = false,
|
|
natural_scroll = false,
|
|
follow_mouse = 1,
|
|
touchpad = {
|
|
disable_while_typing = false,
|
|
natural_scroll = true,
|
|
scroll_factor = 0.15,
|
|
middle_button_emulation = true,
|
|
clickfinger_behavior = true,
|
|
drag_lock = 1,
|
|
tap_and_drag = true,
|
|
drag_3fg = 2,
|
|
},
|
|
}
|
|
})
|
|
if HOSTNAME == "honney-main" then
|
|
hl.config({
|
|
input={
|
|
kb_layout = "us",
|
|
}
|
|
})
|
|
end
|
|
|
|
-- To find the device names: hyprctl devices -j
|
|
|
|
hl.device({
|
|
name = "evision-rgb-keyboard",
|
|
kb_layout = "us"
|
|
})
|
|
for i = 1, 9 do
|
|
hl.device({
|
|
name = "evision-rgb-keyboard-" .. tostring(i),
|
|
kb_layout = "us"
|
|
})
|
|
end |