Files
dotfiles/dot_config/hypr/hyprland.d/40-input.conf.tmpl
s0wlz (Matthias Puchstein) 8018b53353 feat: finalize migration to chezmoi and modernize configuration logic
- Modularize Hyprland config into hyprland.d/
- Implement infinitely scalable monitor/workspace logic using templates and loop-based data structures
- Consolidate host-specific configs (hyprlock, hyprpaper, waybar) into single templates
- Resolve waybar symlink conflict and fix template execution errors
- Integrate chezmoi data variables for scale, resolution, and peripherals
2025-12-27 22:52:43 +01:00

35 lines
810 B
Cheetah

{{- $tags := .chezmoi.config.data.tags -}}
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = ultimatekeys
kb_options = caps:escape_shifted_capslock
numlock_by_default = true
repeat_rate = 25
repeat_delay = 600
follow_mouse = 1
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") }}
device {
name = "Logitech Gaming Mouse G502"
sensitivity = 0.0
accel_profile = flat
}
{{- end }}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
#device {
# name = epic-mouse-v1
# sensitivity = -0.5
#}