Merge pull request #4708 from sgruendel/remove_legacy_gpu_terminal

Remove legacy GPU terminal script and its invocation
This commit is contained in:
David Heinemeier Hansson
2026-02-26 05:57:33 -05:00
committed by GitHub
2 changed files with 0 additions and 18 deletions
@@ -1,17 +0,0 @@
# Ghostty requires modern GPU acceleration (OpenGL/Vulkan) which is often unstable
# or missing on legacy hardware. Detect legacy GPU drivers and fall back to Alacritty.
legacy_drivers=("radeon")
for card in /sys/class/drm/card*; do
if [[ -e $card/device/driver ]]; then
driver=$(basename "$(readlink -f "$card/device/driver")")
for legacy in "${legacy_drivers[@]}"; do
if [[ $driver == $legacy ]]; then
omarchy-install-terminal alacritty
exit 0
fi
done
fi
done