Skip to content

Instantly share code, notes, and snippets.

@alvarogar4
alvarogar4 / README.md
Last active February 25, 2026 15:35
Claude Code + Ghostty: Click notification → focus the exact tab. One script, one brew dependency.

Claude Code Notifications for Ghostty (macOS)

Clicking a Claude Code notification focuses the exact Ghostty tab that raised it.

The problem

Claude Code's default notifications on macOS either:

  • Open Script Editor when clicked (if using osascript display notification)
  • Don't focus the right terminal tab
@alvarogar4
alvarogar4 / juno-fortytwo-user-balance.repl.ts
Created August 9, 2023 14:24
get user balance from vault
main()
async function main() {
const bearerToken = '' // Auth token
const conf = {
headers: {
Authorization: `Bearer ${bearerToken}`,
}
}