#!/bin/sh # install-system-polish.sh — NoSignal polish bundle. Three parts: # # A. Menu cleanup + printing # - hides clutter .desktop entries (avahi browsers, V4L test tools, # foot terminal trio, pinentry dialogs) via per-user overrides # - enables cups.socket so printing works (stack is installed but off) # B. Web-app installer: nosignal-webapp-install / nosignal-webapp-remove # C. First-login welcome notification pointing at the discoverability keys # # Safe to re-run (idempotent). sudo only needed for cups.socket. set -eu SRC=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) BIN="$HOME/.local/bin" APPS="$HOME/.local/share/applications" HYPRUSER="$HOME/.config/caelestia/hypr-user.conf" mkdir -p "$BIN" "$APPS" # --- A1. hide menu clutter (user-level override shadows the system entry) ---- HIDDEN="avahi-discover bssh bvnc qv4l2 qvidcap foot footclient foot-server org.gnupg.pinentry-qt org.gnupg.pinentry-qt5 uuctl" for id in $HIDDEN; do [ -f "/usr/share/applications/$id.desktop" ] || continue [ -f "$APPS/$id.desktop" ] && continue cat > "$APPS/$id.desktop" <