From a15eac4240814fd96b21f7850c839e632128f4aa Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 30 Sep 2026 15:52:22 -0600 Subject: [PATCH] install claude and notifications --- updates.d/70-claude.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 updates.d/70-claude.sh diff --git a/updates.d/70-claude.sh b/updates.d/70-claude.sh new file mode 100755 index 0000000..1143163 --- /dev/null +++ b/updates.d/70-claude.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +COREDESKTOP="$HOME/.local/share/coredesktop" + +# claude.sh has run if Claude Code is installed, ~/.local/bin is on PATH in +# .bashrc, and the notification settings file exists +if command -v claude &>/dev/null \ + && grep -qF 'export PATH="$HOME/.local/bin:$PATH"' ~/.bashrc 2>/dev/null \ + && [ -f "$HOME/.claude/settings.json" ]; then + echo "Claude Code already set up." +else + echo "Setting up Claude Code..." + bash "$COREDESKTOP/claude.sh" +fi