mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-10-24 08:23:19 +00:00
6fb7007ea9
omo-notify now drives three signals from omo's UserPromptSubmit, Stop and Notification hooks: - A sound through afplay, so Focus modes cannot mute it - A Ghostty notification (OSC 777) written to the session's tmux client terminal, so clicking it opens the tab it came from. This replaces the osascript banner, which opened Script Editor's file picker on click - omo-status markers in front of the tab title: red error, amber waiting for input, green finished, blue working. A tab shows its most urgent agent; focusing it clears red, amber and green and selects the pane that sent the banner tmux puts @omo_status in the title and runs omo-status on client focus.
26 lines
493 B
JSON
26 lines
493 B
JSON
{
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{ "type": "command", "command": "~/.local/bin/omo-notify", "timeout": 10 }
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{ "type": "command", "command": "~/.local/bin/omo-notify", "timeout": 10 }
|
|
]
|
|
}
|
|
],
|
|
"Notification": [
|
|
{
|
|
"hooks": [
|
|
{ "type": "command", "command": "~/.local/bin/omo-notify", "timeout": 10 }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|