fix(qa): comprehensive out-of-the-box audit and repair
- Fix critical bash dynamic scoping bug in install.sh (Impermanence/Form Factor). - Polished Live ISO with auto-login and passwordless sudo. - Repurposed nomarchy-toggle-suspend to directly execute systemctl suspend. - Updated nomarchy-launch-wifi to use nmtui in alacritty. - Optimized nomarchy-welcome to avoid redundant rebuilds via --no-update flag. - Enabled nomarchy-welcome in Hyprland autostart. - Wrapped Live ISO-modifying steps in welcome wizard to prevent failures. - Removed obsolete hardware auto-detection from nomarchy-on-boot. - Hardened script doc generator against false-positive wildcard tokens. - Regenerated docs/SCRIPTS.md and updated docs/ROADMAP.md.
This commit is contained in:
@@ -2,12 +2,17 @@
|
||||
set -e
|
||||
|
||||
# Set the system theme declaratively.
|
||||
# Usage: nomarchy-theme-set <theme-name>
|
||||
# Usage: nomarchy-theme-set <theme-name> [--no-update]
|
||||
|
||||
THEME_NAME="$1"
|
||||
NO_UPDATE=false
|
||||
|
||||
if [[ "${2:-}" == "--no-update" ]]; then
|
||||
NO_UPDATE=true
|
||||
fi
|
||||
|
||||
if [[ -z $THEME_NAME ]]; then
|
||||
echo "Usage: nomarchy-theme-set <theme-name>"
|
||||
echo "Usage: nomarchy-theme-set <theme-name> [--no-update]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -48,6 +53,12 @@ if [ -d "$BG_DIR" ]; then
|
||||
fi
|
||||
|
||||
echo "Theme set to $THEME_NAME. Applying changes with nomarchy-env-update..."
|
||||
|
||||
if [[ "$NO_UPDATE" == "true" ]]; then
|
||||
echo "Skipping nomarchy-env-update due to --no-update flag."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
nomarchy-env-update
|
||||
|
||||
nomarchy-theme-set-templates
|
||||
|
||||
Reference in New Issue
Block a user