if omarchy-hw-dell-xps13-dx13260-ptl; then cirrus_package=$(pacman -Q linux-firmware-cirrus 2>/dev/null || true) # Keep newer Arch firmware when stable's snapshot supersedes the shim. if [[ -z $cirrus_package ]] || (( $(vercmp "${cirrus_package#* }" "20260810-3") < 0 )); then firmware_pending="${OMARCHY_XPS13_FIRMWARE_PENDING:-/run/omarchy/xps13-ptl-speaker-firmware}" sudo install -Dm644 /dev/null "$firmware_pending" # [core] precedes [omarchy], so an unqualified target selects the older firmware. sudo pacman -S --noconfirm --needed omarchy/linux-firmware-cirrus fi fi