dunst icon indicating copy to clipboard operation
dunst copied to clipboard

suggestion: optional FIFO

Open dicktyr opened this issue 1 year ago • 1 comments

please consider an option to create a FIFO at a specified path which dunst continuously reads, displaying notifications as they arrive

for example, a script might redirect stderr (rather than trying to capture it separately from stdout and then calling notify-send, &c.)

command 2> ~/.config/dunst/dunst.fifo

probably best to allow multiple fifos so different rules may be applied to each as need be

dicktyr avatar Mar 10 '24 03:03 dicktyr

can't you create a script that monitors the fifo and calls notify-send?

bynect avatar Mar 10 '24 10:03 bynect

of course, but I think a significant portion of dunst users might find it useful (not to mention avoiding yet another resident process...)

dicktyr avatar Mar 10 '24 19:03 dicktyr

I don't consider avoidance of a resident process a compelling argument for adding this feature. Also, writing a script which uses standard tools like notify-send (or even some binding to the DBus) seems to be preferred as it would work with other notification daemons besides dunst.

zappolowski avatar Mar 10 '24 20:03 zappolowski