-
Notifications
You must be signed in to change notification settings - Fork 343
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
[RFC] DBus add NotificationListDisplayed #1348
base: master
Are you sure you want to change the base?
Conversation
This will be removed for the displayed queue in the future.
This is analog to the already present `NotificationListHistory` and allows e.g. for selectively closing some notifications.
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1348 +/- ##
==========================================
- Coverage 65.95% 65.93% -0.02%
==========================================
Files 50 50
Lines 8209 8213 +4
Branches 962 962
==========================================
+ Hits 5414 5415 +1
- Misses 2795 2798 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I like the idea. I was wondering if there was a nice way to call closeNotification from dunstctl or the like. Maybe we can add an optional argument to edit: I actually made it in #1351 |
I suggest to implement a more generic |
I don't think, that Maybe for the future one could think about implementing |
Well the parameter name can be specified in the xml. Maybe for a clearer name something like But creating another method is alright. So we would just need to combine the two where needed |
TBH, I don't get this proposal. I also don't understand why there would be a need to differentiate from
For both use cases described in #1242 and #1346 just the displayed notifications are of interest and thus |
It was just an idea. You can go ahead with displayed and waiting as you said |
|
A possible implementation to fix #1242.
This way one could e.g. use (fish syntax):
To close all currently displayed notifications generated by Spotify.
TODO (if accepted)