I would like to write something to have emacs listen on dbus for notifications and update the color of a char on the mode line as telega does. Do you have any suggestions on how to do the above?
I would like to write something to have emacs listen on dbus for notifications and update the color of a char on the mode line as telega does. Do you have any suggestions on how to do the above?
If Emacs will start a long-running process and react whenever there’s new output, then you’ll want to see
C-h i g (elisp)Asynchronous Processes
andC-h i g (elisp)Output from Processes
. (n.b. I’ve added a couple of other notes to my initial reply, too.)