From 6e1f1cae1b962d6511076c1df3cf76cf55f75cf1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 10 Nov 2025 11:33:35 +0100 Subject: [PATCH] Slowdown the ghostty scrolling a tad --- config/ghostty/config | 2 +- migrations/1762770442.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 migrations/1762770442.sh diff --git a/config/ghostty/config b/config/ghostty/config index a46f9dc4..936165dd 100644 --- a/config/ghostty/config +++ b/config/ghostty/config @@ -27,4 +27,4 @@ keybind = shift+insert=paste_from_clipboard keybind = control+insert=copy_to_clipboard # Slowdown mouse scrolling -mouse-scroll-multiplier = 0.5 +mouse-scroll-multiplier = 0.8 diff --git a/migrations/1762770442.sh b/migrations/1762770442.sh new file mode 100644 index 00000000..74e606b6 --- /dev/null +++ b/migrations/1762770442.sh @@ -0,0 +1,5 @@ +echo "Slow down Ghostty mouse scrolling to match Alacritty" + +if ! grep -q "mouse-scroll-multiplier" ~/.config/ghostty/config; then + echo -e "\n# Slowdown mouse scrolling\nmouse-scroll-multiplier = 0.8" >> ~/.config/ghostty/config +fi