"Command Finished" Notifications #3555
|
I tried out Ghostty last night on my mac and was blown away. I love it :) When using Warp, if you don't have it in focus when a command finishes (or needs a password prompt), Warp will send you a notification. This is really helpful when using a separate terminal in the background, especially when using what Ghostty terms (pun unintended) "quick" terminals that disappear when unfocused. I usually use the vscode integrated terminal (can't wait for someone crazy to write an extension to use |
Replies: 11 comments 17 replies
|
Kitty also does this, and the way they have their configuration for this may be of interest. |
|
This can be accomplished with OSC 9 or OSC 777 (precedent), both of which $ sleep 5; echo -e "\033]777;notify;your title;your body\007"
$ sleep 5; echo -e "\033]9;your body\007"
|
|
Number 1 feature I require as well. I have a couple of commands that take 15+ mins to work having a notification when it is done or if more info is required will be a godsend. Only reason I have been using warp for so long. |
|
Yes, this would be a useful feature to have. BlackBox which fits very well with GNOME has this. |
|
GNOME Console (kgx) does this by default. If the terminal window is not focused and a command finishes running, it will send you a desktop notification. One of my favorite features. |
|
zsh-notify also has this, I stumbled on this thread while looking for a replacement for it. |
|
I like this idea, but we need to gather more concrete design ideas first. |
|
This would be amazing! I run some docker builds that take quite a bit of time, and often leave them running in the background and forget about them. Love ghostty, it would be even better if this gets implemented |
|
I'd love to have an issue with this enhancement to track against. Does one exist? Should we create one? Ideally I'd like something similar to WezTerm's options here: https://wezterm.org/config/lua/config/notification_handling.html
Personally, the only one I'd use is SuppressFromFocusedTab, as if it's a focused tab (and therefore window) then I will see my prompt show up as the command finishes. Also happy to potentially contribute if the maintainers here agree this is a worthwhile addition! |
|
Here's what I'm thinking about for config:
I think that ought to cover what most people want without getting too crazy. |


#8991