rio icon indicating copy to clipboard operation
rio copied to clipboard

send a notification to notify daemon

Open abhijeetmohanan opened this issue 3 months ago • 2 comments

Hi,

I’d like to know if there’s a feature (or if it can be added) where the terminal sends a notification to the system’s notification daemon in these cases:

  • command exits with a non-zero status (failure).
  • script prompts the user for input (e.g., yes/no).

Use case: This would help in workflows where long-running commands or unattended scripts require attention. Instead of constantly monitoring the terminal, I’d get a desktop notification when something needs my action.

Thank you!

abhijeetmohanan avatar Sep 15 '25 07:09 abhijeetmohanan

Rio doesn't have that yet unfortanelly, does alacritty supports that?

raphamorim avatar Sep 21 '25 21:09 raphamorim

There's a related feature I want, that I haven't seen in any terminal emulator. There are plugins for shells, but nothing native.

I'd like to be libnotify'd when a program that runs for longer than N seconds exits.

Now, the thing that shell plugins can't accomplish, thus, why it's a good feature for Rio: only send the notification if the window is not in focus, or perhaps, on a different workspace from what I'm currently looking at.

spikespaz avatar Oct 01 '25 02:10 spikespaz