Fix IO pressure on some machines with Ghostty

This commit is contained in:
David Heinemeier Hansson
2026-02-06 17:19:47 +01:00
parent b0e8a4dcea
commit f7e22fcfd8

7
migrations/1770393078.sh Normal file
View File

@@ -0,0 +1,7 @@
echo "Add async-backend = epoll to ghostty config to fix high IO pressure"
if [[ -f ~/.config/ghostty/config ]] && ! grep -q "^async-backend" ~/.config/ghostty/config; then
echo "" >> ~/.config/ghostty/config
echo "# Fix general slowness on hyprland (https://github.com/ghostty-org/ghostty/discussions/3224)" >> ~/.config/ghostty/config
echo "async-backend = epoll" >> ~/.config/ghostty/config
fi