From ad155b254567cfa2ea038c98aa0527cbf051cc83 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 19 Sep 2025 05:32:47 -0500 Subject: [PATCH] Ghostty needs a very different scrollfactor than Alacritty and Kitty cc @mitchellh --- config/hypr/input.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/hypr/input.conf b/config/hypr/input.conf index 2a2d25c9..ca5f1f5e 100644 --- a/config/hypr/input.conf +++ b/config/hypr/input.conf @@ -27,8 +27,9 @@ input { } } -# Scroll faster in the terminal -windowrule = scrolltouchpad 1.5, tag:terminal +# 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/