summaryrefslogtreecommitdiffstats
path: root/.config/hypr/input.conf
blob: 7029850910ab74df5008f424749811e3d96a8bc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Control your input devices
# See https://wiki.hypr.land/Configuring/Variables/#input
input {
  # Swap Caps Lock and Escape
  kb_options = caps:swapescape
  kb_layout = us

  # Change speed of keyboard repeat
  repeat_rate = 40
  repeat_delay = 600

  # Don't start with numlock on by default
  numlock_by_default = false

  # Increase sensitivity for mouse/trackpad (default: 0)
  # sensitivity = 0.35

  # focus follows mouse pointer
  # follow_mouse = 1

  touchpad {
    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
  }
}

# Scroll nicely in the terminal
windowrule = scrolltouchpad 1.5, class:(Alacritty|kitty)
windowrule = scrolltouchpad 0.2, class:com.mitchellh.ghostty

# Enable touchpad gestures for changing workspaces
# See https://wiki.hyprland.org/Configuring/Gestures/
# gesture = 3, horizontal, workspace