Restore the browser, gaming, development, and Windows VM menus

This commit is contained in:
2026-09-20 00:30:28 -04:00
parent 3e65d176e3
commit ffa9b2ca0e
42 changed files with 3575 additions and 7 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
# blob:summary=Install lib32 graphics drivers (Vulkan + NVIDIA) for any detected GPUs.
# blob:group=install
# blob:name=gaming gpu-lib32
# blob:requires-sudo=true
set -e
echo "Installing lib32 graphics drivers..."
PACKAGES=()
declare -A VULKAN_DRIVERS=(
[Intel]=lib32-vulkan-intel
[AMD]=lib32-vulkan-radeon
)
for vendor in "${!VULKAN_DRIVERS[@]}"; do
if lspci | grep -iE "(VGA|Display).*$vendor" >/dev/null; then
PACKAGES+=("${VULKAN_DRIVERS[$vendor]}")
fi
done
if blob-hw-nvidia-gsp; then
PACKAGES+=(lib32-nvidia-utils)
elif blob-hw-nvidia-without-gsp; then
PACKAGES+=(lib32-nvidia-580xx-utils)
fi
(( ${#PACKAGES[@]} > 0 )) && blob-pkg-add "${PACKAGES[@]}"