vlevit / notify-send.sh

drop-in replacement for notify-send with more features
GNU General Public License v3.0
282 stars 42 forks source link

D-Bus Support #25

Open cwrau opened 2 years ago

cwrau commented 2 years ago

This seems to depend on GDBUS explicitly, is it possible to add an option to support D-Bus directly?

I don't have anything gnome installed except the terminal, and the doesn't seem to be anything on the GDBUS.

But

dbus-monitor --session "type='signal',path=/org/freedesktop/Notifications,interface=org.freedesktop.Notifications"

correctly prints the action click messages

I can try to give you a PR if you're open to that

cwrau commented 2 years ago

This doesn't seem that trivial, as the D-Bus messages are multiline 😕

I'd say something like a python script is required