Files
coredesktop/updates.d/70-claude.sh
T
davidandClaude Opus 5.5 4fb35397ee
shellcheck / shellcheck (push) Successful in 18s
Claude notifications: clicking one brings back the app Claude runs in
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

10 lines
359 B
Bash
Executable File

#!/bin/bash
COREDESKTOP="$HOME/.local/share/coredesktop"
# claude.sh installs Claude Code if it's missing, puts ~/.local/bin on PATH and
# sets up its notifications. Each step does nothing if it's already done, so it
# runs on every update, and changes to the notifications reach this machine.
echo "Setting up Claude Code..."
bash "$COREDESKTOP/claude.sh"