Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop: matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU detection, and a curated "os updates" layer (keybind cheatsheet, settings panels, system polish, on-box management skill). See README.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
608 B
Bash
Executable file
13 lines
608 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# omarchy-hw-nvidia-gsp — NoSignal shim. Exit 0 if an NVIDIA GPU is present (and
|
|
# thus should use the modern, GSP-firmware driver branch: nvidia-utils). Exit 1
|
|
# if no NVIDIA GPU. DeckShift only calls this when it has already detected an
|
|
# NVIDIA card, to choose modern vs legacy.
|
|
#
|
|
# Limitation: this defaults any present NVIDIA card to the modern/GSP branch
|
|
# (correct for Turing/RTX-20 and newer, ~2018+). It does not distinguish very
|
|
# old pre-Turing cards — see omarchy-hw-nvidia-without-gsp.
|
|
if lspci -d 10de:: 2>/dev/null | grep -qiE 'VGA|3D|Display'; then
|
|
exit 0
|
|
fi
|
|
exit 1
|