Option to persist notifications#157
Open
joshuamegnauth54 wants to merge 1 commit into
Open
Conversation
macOS supports persisting notifications until dismissed. This is useful to keep important notifications around instead of having them time out. Currently, this applies to all apps but it composes well with per-app notification settings (which is a future feature, most likely). See: pop-os/cosmic-settings#1878
5 tasks
wash2
approved these changes
Jun 1, 2026
jklgrasso
approved these changes
Jun 2, 2026
|
I suggest this config to be similar to the one I created in #158 . Instead of a boolean, the user can choose None/All/Urgent only. I don't want All my notifications to persist, that's annoying, but I do like to keep the urgent ones around until I dismiss them. |
wash2
requested changes
Jun 11, 2026
wash2
left a comment
Collaborator
There was a problem hiding this comment.
I suggest this config to be similar to the one I created in #158 . Instead of a boolean, the user can choose None/All/Urgent only. I don't want All my notifications to persist, that's annoying, but I do like to keep the urgent ones around until I dismiss them.
That's a great point!
Author
|
Sure! 😁 That's a great idea. I'll wait till your patch is merged, and then I'll rebase mine so I could reuse/rename your |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
macOS supports persisting notifications until dismissed. This is useful to keep important notifications around instead of having them time out. Currently, this applies to all apps but it composes well with per-app notification settings (which is a future feature, most likely).
See: pop-os/cosmic-settings#1878
This feature was requested in the linked PR. I'll likely implement per-app settings then move this setting over to that to match macOS. However, this works as intended for now. The easiest way to test it is to use
send-notify.To enable persistence, write
trueto thepersistencesettings file.