Files
dotfiles/dot_config/hypr/hyprland.d.lua/input.lua.tmpl
T
mpuchstein d53bc5dadb hypr: migrate to Lua config (v0.55) with custom scroll layouts
Replace hyprlang hyprland.d/ with Lua-based hyprland.d.lua/ modules:
- theme.lua.tmpl: apex-neon + apex-aeon color tables, col.* bracket keys
- general.lua: config, bezier curves, animations (bezier=/spring= fixed)
- monitors.lua.tmpl, workspaces.lua.tmpl, input.lua.tmpl, rules.lua.tmpl
- keybinds.lua.tmpl: +/SHIFT/CTRL format, monitor focus (Super+I/O),
  scroll binds for custom layouts
- layout.lua: master-scroll, slave-master-scroll, center-master-scroll
  (peek-hint scrolling slave columns, focus-triggered auto-scroll)

Entry point uses package.path + require() for per-file error isolation.
Old hyprlang configs preserved under hyprland.conf.bak/.
Add .luarc.json for hyprland stub autocompletion in editors.
2026-05-12 01:00:42 +02:00

31 lines
632 B
Cheetah

{{- $tags := .chezmoi.config.data.tags -}}
hl.config({
input = {
kb_layout = "ultimatekeys",
kb_options = "caps:escape_shifted_capslock",
numlock_by_default = true,
repeat_rate = 25,
repeat_delay = 600,
follow_mouse = 1,
focus_on_close = 2,
mouse_refocus = true,
float_switch_override_focus = 2,
special_fallthrough = true,
touchpad = {
disable_while_typing = true,
scroll_factor = 1.0,
tap_to_click = true
}
}
})
{{- if (index $tags "desktop") }}
hl.device({
name = "Logitech Gaming Mouse G502",
sensitivity = 0.0,
accel_profile = "flat"
})
{{- end }}