You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be handy to be able to se dunstctly to only close notifications pertaining a single app, or all the notifications containing a specified text/pattern.
also apparently the history-rm command is not documented in the docs folder of the source code.
Thanks!
The text was updated successfully, but these errors were encountered:
febs
changed the title
Feature request: dunstctl close notiication based on conditions
Feature request: dunstctl close notifications based on conditions
Dec 22, 2023
This is an interesting idea.
As a future reference: It can be done by defining a new dbus method similar to NotificationCloseLast that accepts a string and matches against that. Maybe two different methods, one matching the title and the other the body/everything.
I have a proposal for a (I think) more extensible approach: provide a new method for listing currently displayed notifications (like NotificationListHistory; this could be reused by just using a different queue to pick from). Then a client could use that output to apply its own rules for filtering and then issue calls to the already existing CloseNotification.
It would be handy to be able to se dunstctly to only close notifications pertaining a single app, or all the notifications containing a specified text/pattern.
also apparently the history-rm command is not documented in the docs folder of the source code.
Thanks!
The text was updated successfully, but these errors were encountered: