install claude and notifications

This commit is contained in:
2026-09-30 15:52:22 -06:00
parent ca658dc20f
commit a15eac4240
+14
View File
@@ -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