NoSignal-OS/os updates/nosignal-update/migrations/1781470800-notif-clear-fix.sh
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
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>
2026-06-21 11:03:10 +01:00

13 lines
758 B
Bash
Executable file

#!/usr/bin/env bash
# 1781470800-notif-clear-fix.sh
# The NoSignal notifications popout (bell) "Clear" button did nothing — it called
# n.notification?.dismiss() instead of the wrapper's close(), so cards never left
# the list (and it was a no-op for disk-restored notifications). Patches the
# installed nosignal-shell file on already-installed boxes. Idempotent.
#
# >> Builder: the REAL fix is in the nosignal-shell FORK source
# (modules/nsbar/panels/NsNotifications.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/notif-clear-fix/install-notif-clear-fix.sh"