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>
15 lines
650 B
Bash
Executable file
15 lines
650 B
Bash
Executable file
#!/bin/bash
|
|
# /usr/lib/os-session-select — Steam's "Exit to Desktop" handler. This is
|
|
# DeckShift's original version, verbatim (shipped here so the installer can
|
|
# restore it if something else overwrote it). It flips the session back to
|
|
# desktop, shuts Steam down, and restarts SDDM; with the patched
|
|
# gaming-session-switch the autologin back to the desktop is one-shot.
|
|
rm -f /tmp/.gaming-session-active
|
|
sudo -n /usr/local/bin/gaming-session-switch desktop 2>/dev/null || {
|
|
echo "Warning: Failed to update session config"
|
|
}
|
|
timeout 5 steam -shutdown 2>/dev/null || true
|
|
sleep 1
|
|
nohup sudo -n systemctl restart sddm &>/dev/null &
|
|
disown
|
|
exit 0
|