初始化dotfiles
This commit is contained in:
33
hypr/conf/input.lua
Normal file
33
hypr/conf/input.lua
Normal file
@ -0,0 +1,33 @@
|
||||
-- 输入设备:键盘、鼠标、触控板、手势
|
||||
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = "us", -- 键盘布局
|
||||
kb_variant = "",
|
||||
kb_model = "",
|
||||
kb_options = "",
|
||||
kb_rules = "",
|
||||
|
||||
follow_mouse = 1, -- 焦点跟随鼠标
|
||||
sensitivity = 0, -- 鼠标灵敏度(0 = 系统默认)
|
||||
|
||||
touchpad = {
|
||||
natural_scroll = true, -- 自然滚动(反向)
|
||||
disable_while_typing = true, -- 打字时禁用触控板
|
||||
clickfinger_behavior = true, -- 点击行为(非按钮区域)
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- 触控手势:3/4指水平滑动切换工作区
|
||||
hl.gesture({
|
||||
fingers = 3,
|
||||
direction = "horizontal",
|
||||
action = "workspace",
|
||||
})
|
||||
|
||||
hl.gesture({
|
||||
fingers = 4,
|
||||
direction = "horizontal",
|
||||
action = "workspace",
|
||||
})
|
||||
Reference in New Issue
Block a user