Files
dotfiles/.config/hypr/input.conf
2026-02-28 16:19:58 +00:00

72 lines
2.0 KiB
Plaintext

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
# Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
kb_layout = gb,ro
# Use a specific keyboard variant if needed (e.g. intl for international keyboards)
# kb_variant = intl
# kb_model =
kb_options = compose:caps
# kb_rules =
# Change speed of keyboard repeat
repeat_rate = 40
repeat_delay = 600
# Start with numlock on by default
numlock_by_default = true
follow_mouse = 1
# Increase sensitivity for mouse/trackpad (default: 0)
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
# Turn off mouse acceleration (default: false)
# force_no_accel = true
# Use natural (inverse) scrolling
# natural_scroll = true
# Use two-finger clicks for right-click instead of lower-right corner
# clickfinger_behavior = true
# Control the speed of your scrolling
scroll_factor = 0.4
# Enable the touchpad while typing
# disable_while_typing = false
# Left-click-and-drag with three fingers
# drag_3fg = 1
touchpad {
# Use natural (inverse) scrolling
natural_scroll = false
# Use two-finger clicks for right-click instead of lower-right corner
# clickfinger_behavior = true
# Control the speed of your scrolling
scroll_factor = 0.4
# Enable the touchpad while typing
# disable_while_typing = false
# Left-click-and-drag with three fingers
# drag_3fg = 1
}
}
misc {
key_press_enables_dpms = true # key press will trigger wake
mouse_move_enables_dpms = true # mouse move will trigger wake
}
# Scroll nicely in the terminal
windowrule = match:class (Alacritty|kitty), scroll_touchpad 1.5
windowrule = match:class com.mitchellh.ghostty, scroll_touchpad 0.2
# Enable touchpad gestures for changing workspaces
# See https://wiki.hyprland.org/Configuring/Gestures/
# gesture = 3, horizontal, workspace