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>
14 lines
853 B
Bash
Executable file
14 lines
853 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# 1781478000-gamemode-toggle-deckshift.sh
|
|
# Repoint the utilities "Game Mode" gamepad toggle to launch the DeckShift gaming
|
|
# session (if installed; else do nothing) instead of caelestia's cosmetic Game
|
|
# Mode. Patches the package-owned nosignal-shell file on already-installed boxes.
|
|
# Idempotent. Requires a shell restart (Ctrl+Super+Alt+R) to take effect — qs -n
|
|
# does not hot-reload; the installer prints that reminder.
|
|
#
|
|
# >> Builder: the REAL fix is in the nosignal-shell FORK source
|
|
# (modules/utilities/cards/Toggles.qml). Bake the corrected file there and set
|
|
# NOSIGNAL_SKIP_SHELL_PATCH for the build so this fallback patch is skipped.
|
|
set -euo pipefail
|
|
: "${NOSIGNAL_SRC:?NOSIGNAL_SRC must point at the NoSignal source root}"
|
|
sudo sh "$NOSIGNAL_SRC/gamemode-toggle-deckshift/install-gamemode-toggle-deckshift.sh"
|