emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.18k stars 137 forks source link

A way to suspend notifications temporarily #157

Closed RX14 closed 5 years ago

RX14 commented 5 years ago

Is sending SIGSTOP and SIGCONT to mako advisable (i.e. would it cause notification-sending applications to misbehave) or is there a need for a "silent" or "do not disturb" mode set via cli?

emersion commented 5 years ago

Is sending SIGSTOP and SIGCONT to mako advisable (i.e. would it cause notification-sending applications to misbehave)

It would cause notification clients to misbehave (freeze).

is there a need for a "silent" or "do not disturb" mode set via cli?

I was thinking about using the feature described in this issue: https://github.com/emersion/mako/issues/138

Would that be okay for you?

makoctl set invisible 1
RX14 commented 5 years ago

Yep! That sounds exactly what I have in mind.

Getting the status would also be very useful to create a statusbar block representing whether notifications are invisible or not. And probably useful for other config options too.

emersion commented 5 years ago

Closing as a dup of #138