Add Cinnamon panel applet that displays Claude Pro subscription usage and limits with configurable refresh interval and colors. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
23 lines
484 B
Bash
Executable File
23 lines
484 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install/update the Claude Status applet
|
|
|
|
APPLET_DIR="$HOME/.local/share/cinnamon/applets/claude-status@ksmith"
|
|
|
|
# Create directory if it doesn't exist
|
|
mkdir -p "$APPLET_DIR"
|
|
|
|
# Copy files
|
|
cp metadata.json "$APPLET_DIR/"
|
|
cp applet.js "$APPLET_DIR/"
|
|
cp settings-schema.json "$APPLET_DIR/"
|
|
|
|
echo "Applet files copied to $APPLET_DIR"
|
|
echo ""
|
|
echo "To activate changes:"
|
|
echo "1. Press Alt+F2"
|
|
echo "2. Type: r"
|
|
echo "3. Press Enter"
|
|
echo ""
|
|
echo "Or restart your session."
|