r/ClaudeCode • • 8h ago

Tips & Workflows tiny C notifier for claude code hooks, clicking it focuses the terminal the session runs in

notify-send in my hooks wasn't enough, i wanted the click to bring me back to the right terminal with several sessions open.

claude-notify: "claude finished" on Stop, "claude asks" on permission prompts, click focuses the terminal/editor of that session. ~10ms per hook, talks dbus directly, no notify-send process. linux only, example settings.json in the repo

https://github.com/comus3/notifytools

1 Upvotes

1 comment sorted by

•

u/AutoModerator 8h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.