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
709 B
Bash
Executable file
14 lines
709 B
Bash
Executable file
#!/bin/sh
|
|
# xdg-terminal-exec — offline shim (NoSignal).
|
|
# app2unit's terminal handler defaults to `xdg-terminal-exec`, which NoSignal
|
|
# did not ship, so launching any Terminal=true desktop entry failed with
|
|
# "Terminal launch requested but 'xdg-terminal-exec' is unavailable!".
|
|
# This shim launches the configured terminal ($TERMINAL, else kitty) following
|
|
# the xdg-terminal-exec calling convention. The builder should ship the real
|
|
# freedesktop xdg-terminal-exec package; this shim is the offline fallback and
|
|
# self-removes from PATH precedence if that binary lands in /usr/bin.
|
|
set -u
|
|
TERM_EMU="${TERMINAL:-kitty}"
|
|
[ "${1:-}" = "--" ] && shift
|
|
[ "$#" -eq 0 ] && exec "$TERM_EMU"
|
|
exec "$TERM_EMU" "$@"
|