summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-30 23:13:26 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-30 23:13:26 +0100
commit3b55f6034b690368ddb7737c80a8bcf856c5726a (patch)
tree27f11e1e75a3bc97c1dc3aef3c7dcc1d5c0ac177 /.config
parent52ab92862f0c5878e964d2be37760519f7a32026 (diff)
Add input configurations
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf1
-rw-r--r--.config/hypr/input.conf34
2 files changed, 35 insertions, 0 deletions
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