-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command to remove a notification from history #308
Comments
Here's a patch that implements removing displayed notifications from history with middle-mouse-click: https://gist.github.com/ohque/19df172fb9b7109732daffc1809eb672 It works for me without any noticeable issues, but this is just a quick "proof of concept". Ideally mouse button mappings would be configurable in dunstrc, so that |
A bit of feedback about that patch, the close reason is defined in the notification spec. The value 4 is defined as |
How about using https://gist.github.com/ohque/a6d681b9329b6d9b23753c72ae4f5020 Or you could add a https://gist.github.com/ohque/72f73b9c7ef9034f1c0b06d0502d6608 |
If I'll look into all the open feature request issues once the next minor version is released and see what can be done about them. |
now there is |
While it is useful to browse through past notifications, there are some that you want to remove from the stack completely after reading them. As far as I know there is no way to manage the history stack at the moment.
I'm aware of the
history_ignore
option, however that makes notifications bypass history completely. Whereas the feature I'm requesting here makes it possible to use the history stack somewhat like an inbox where you can delete notifications you have already read and don't want to see anymore.I think this feature would be useful in two forms:
dunstcli rm
to remove currently focused notification (similar to the existing "close" command)dunstcli rm <notification-id>
to remove a specific notification by IDThe text was updated successfully, but these errors were encountered: