From 3b55f6034b690368ddb7737c80a8bcf856c5726a Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 30 Nov 2025 23:13:26 +0100 Subject: Add input configurations --- .config/hypr/hyprland.conf | 1 + .config/hypr/input.conf | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .config/hypr/input.conf diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6eacfa1..8c0579e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,3 +1,4 @@ # Hyprland main configuration file # Based on Omarchy hyprland setup source = ~/.config/hypr/monitors.conf +source = ~/.config/hypr/input.conf diff --git a/.config/hypr/input.conf b/.config/hypr/input.conf new file mode 100644 index 0000000..c45a113 --- /dev/null +++ b/.config/hypr/input.conf @@ -0,0 +1,34 @@ +# Control your input devices +# See https://wiki.hypr.land/Configuring/Variables/#input +input { + # Swap Caps Lock and Escape + kb_options = caps:swapescape + + # 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 + + 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 -- cgit v1.2.3