Group all intel specifics in subdirectory

This commit is contained in:
David Heinemeier Hansson
2026-03-24 20:39:01 +01:00
parent e2c8bb67cc
commit c4c55b5c33
9 changed files with 10 additions and 9 deletions
@@ -0,0 +1,11 @@
# This installs hardware video acceleration for Intel GPUs
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
# HD Graphics / Iris / Xe / Arc use intel-media-driver
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|uhd\ graphics|xe|iris|arc) ]]; then
omarchy-pkg-add intel-media-driver
elif [[ ${INTEL_GPU,,} =~ "gma" ]]; then
# Older generations from 2008 to ~2014-2017 use libva-intel-driver
omarchy-pkg-add libva-intel-driver
fi
fi