summaryrefslogtreecommitdiffstats
path: root/roles/hyprland/templates/hypr/input.conf.j2
blob: 51ddef45b22a1dbfc8c3fdcf9f8ec89e460ec856 (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
39
# vim: set filetype=hyprlang.ansible :

# Control your input devices
# See https://wiki.hypr.land/Configuring/Variables/#input
input {
  kb_layout = us,de

  # Change speed of keyboard repeat
  repeat_rate = 50
  repeat_delay = 500

  # 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
  }
}

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

misc {
    # key_press_enables_dpms = true  # key press will trigger wake
    # mouse_move_enables_dpms = true # mouse move will trigger wake
}