Steam depends on the virtual package lib32-vulkan-driver. omarchy-pkg-add runs pacman with --noconfirm, which silently resolves that to the first provider, lib32-nvidia-utils, pulling the NVIDIA stack onto machines with no NVIDIA GPU. Running omarchy-install-gaming-gpu-lib32 first satisfies the dependency with the driver that matches the detected GPU. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
22 lines
724 B
Bash
Executable File
22 lines
724 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Install Steam and graphics drivers selected for this system
|
|
# omarchy:requires-sudo=true
|
|
|
|
set -e
|
|
|
|
echo "Installing Steam..."
|
|
|
|
# Install the lib32 drivers first. Steam depends on the virtual package
|
|
# lib32-vulkan-driver, and omarchy-pkg-add runs pacman with --noconfirm, which
|
|
# resolves an unsatisfied virtual dependency to the first provider without
|
|
# asking. That provider is lib32-nvidia-utils, so installing Steam ahead of the
|
|
# drivers pulls the NVIDIA stack onto machines that have no NVIDIA GPU.
|
|
omarchy-install-gaming-gpu-lib32
|
|
omarchy-pkg-add steam
|
|
|
|
echo ""
|
|
echo "Steam will start automatically now. This might take a while..."
|
|
|
|
setsid uwsm-app -- gtk-launch steam >/dev/null 2>&1 &
|