-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Run a script" support (in addition to X11 and Wayland) #84
Comments
Hey, thanks for creating this issue. I would like to hear more about your ideas, especially the part that how you think this could be implemented. As far as I understood, you simply want a command-line interface that listens D-Bus notifications and you want to utilize it in shell scripts, am I right? Can you give a concrete example of that? |
Thanks for your interest, @orhun.
It would also enable to have desktop notifications, on bare TTY sessions, since you can run a DBus session without X11 and sending & listening notifications just needs DBus. |
Yeah, I can totally see the potential of this feature and it would be amazing to have it! Regarding the implementation/usage, do you have an idea of how it would look like? Is it going to be a binary listening for events? How is it going to be configured? I'm just trying to grasp better what is on your mind 🐻 |
Having to code a listening program would place it out of reach/convenience for the average user. |
As I attempted to try |
Making the X11 dependency optional would be a good start for this. What do you think? |
Not a must for my specific use case, but I guess that it won't hurt when adding Wayland support. |
Is your feature request related to a problem? Please describe.
Trying to get
desktopterminal notifications from programs emitting them in a headless, no desktop (neither X nor Wayland) TTY-only environment (remote shells).I can launch a headless DBus service for programs requiring it (ie. failing if no DBus present).
Also, this opens up a world of extensibility, where you can get creative with notification methods. 😄
Describe the solution you'd like
Just an 'invoke a custom script' backend in addition to X11 and Wayland, which would handle all notifications. It could be 'in addition to' X11 or 'replacing' X11.
I guess that a 'script-only' backend would enable adding fancy functionality to any Desktop Environment, without requiring to drop the built-in notification manager. (e.g. send a push notification to Android/iOS).
Describe alternatives you've considered
A specific software just listening for DBus notifications, but found none.
The text was updated successfully, but these errors were encountered: