mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
3a0f0d2dc8
- Updated descriptions for RPG status bar and virtual code garden to include display details. - Modified component documentation to reflect new features and descriptions for various statuslines. - Removed max-height restrictions in CSS for better component visibility. - Adjusted modal helper to show full component descriptions instead of truncated versions.
7 lines
1.1 KiB
JSON
7 lines
1.1 KiB
JSON
{
|
|
"description": "A theatrical display of coding emotions and activities. Random mood faces and dynamic activity detection based on file types present in your project. Displays: Random mood faces (😴 sleepy, 😅 laughing, 🤔 thinking, 😎 cool, 🤯 exploding, 🥳 partying, 😤 huffing, 🤖 robotic), Programming activity (🐍 Python, 🌐 JavaScript, 🦀 Rust, 💻 generic), Random energy percentage (1-100%), Current time (HH:MM format).",
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "bash -c 'input=$(cat); MODEL=$(echo \"$input\" | jq -r \".model.display_name\"); DIR=$(echo \"$input\" | jq -r \".workspace.current_dir\"); MOOD_FACES=(\"😴\" \"😅\" \"🤔\" \"😎\" \"🤯\" \"🥳\" \"😤\" \"🤖\"); MOOD=${MOOD_FACES[$((RANDOM % ${#MOOD_FACES[@]}))]}; ACTIVITY=$([ -f \"*.py\" ] && echo \"🐍 Pythoning\" || [ -f \"*.js\" ] && echo \"🌐 JSing\" || [ -f \"*.rs\" ] && echo \"🦀 Rusting\" || echo \"💻 Coding\"); TIME=$(date \"+%H:%M\"); ENERGY=$((RANDOM % 100 + 1)); echo \"[$MODEL] $MOOD $ACTIVITY | ⚡$ENERGY% | 🕐 $TIME | 📁 ${DIR##*/}\"'"
|
|
}
|
|
} |