Menu

I made my PC’s RGB lights tell me what Claude Code is doing
📰

I made my PC’s RGB lights tell me what Claude Code is doing

DEV Community: dotnet·João Fernando·about 5 hours ago
#N6XkyGm6
#devtodotnet#devto#dev#claude#code
Long article (484 words) — no AI summary yet.
Reading 0:00
15s threshold

I use Claude Code all day, and I kept doing the same thing: alt-tabbing to the terminal to check if it had finished or was waiting for me to answer a question. So I built Claude Color , a small Windows tray app that turns Claude Code's state into light.

Claude Code event Color

Working 🔵 blue

Asked a question 🟡 yellow

Plan waiting for approval 🟣 purple

Asked for permission 🟠 orange

Finished 🟢 green

Now I can walk away from the desk. When the lamp turns orange, I know it needs me.

How it works

Claude Code has hooks : commands it runs on events like UserPromptSubmit , PreToolUse , Notification and Stop . Claude Color installs one hook entry per event in ~/.claude/settings.json (keeping any other hooks you already have):

Claude Code runs ClaudeColor.exe hook and passes the event as JSON on stdin.

The hook maps it to a signal ( PreToolUse + ExitPlanMode becomes "plan", a permission_prompt notification becomes "permission", and so on) and sends it over a named pipe to the tray app.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.