Commit Graph
3 Commits
Author SHA1 Message Date
davidandClaude Opus 5.5 4fb35397ee Claude notifications: clicking one brings back the app Claude runs in
shellcheck / shellcheck (push) Successful in 18s
The hooks ran notify-send from inside Claude, so GNOME couldn't tell which
app the notification came from and clicking it did nothing. system/claude-notify
finds the terminal or editor among Claude's parent processes (or tmux's
client, or the Flatpak) and names it in the desktop-entry hint. The title
shows the project folder and the body Claude's own message.

claude.sh swaps the old notify-send hooks for it, only where they're still
the ones CoreDesktop wrote, and 70-claude.sh now runs claude.sh on every
update so existing machines get it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 07:52:09 -07:00
davidandClaude Opus 5.5 d9da8208dd Add shellcheck lint and bats tests
make lint runs shellcheck on every tracked bash script, make test runs
the bats suite in tests/, and make check runs both. The tests cover the
update orchestrator (hook isolation, failure reporting, pull and
free-space handling) and utils.sh (migrations, package install and
removal, services, initramfs build check), using stub commands so they
never touch the real system.

Fixes from the first lint run: 20-aur.sh stops if a cd fails rather
than building or deleting in the wrong directory, and
80-gnome-extensions.sh refuses to rm -rf with an empty path. The rest
are false positives, silenced in .shellcheckrc or per line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:15:12 -06:00
david ca658dc20f various fixes 2026-09-29 14:03:04 -06:00