初始化dotfiles

This commit is contained in:
2026-06-18 11:36:12 +08:00
commit f4305709a5
37 changed files with 1540 additions and 0 deletions

33
hypr/conf/input.lua Normal file
View 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",
})