NoSignal-OS/os updates/kernel-reboot-notify/95-nosignal-kernel-reboot.hook
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

15 lines
664 B
Text
Executable file

# NoSignal: warn (in pacman/yay output) when a kernel image changes, so
# out-of-band `pacman -Syu` / `yay` updates also remind the user to reboot.
# The desktop notification is handled by nosignal-reboot-check (end of
# nosignal-update / at login); this hook covers the terminal case.
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
[Action]
Description = NoSignal: kernel changed — a reboot is required to load it...
When = PostTransaction
Exec = /bin/sh -c 'printf "\n>> NoSignal: kernel changed — REBOOT REQUIRED to load the new kernel.\n>> At the Limine menu, boot the UKI entry.\n\n"'