Skip to content

Conversation

thaemisch
Copy link
Contributor

@thaemisch thaemisch commented Jun 15, 2025

Notification Toggle

This PR enables the user to temporarily toggle notifications on/off.

  1. Turning notifications off will remove all currently visible notifications forever.
  2. While notifications are turned off, they are added to a "pending" queue.
  3. Turning notifications back on will release to pending notifications.

The status is displayed in the StatusIcons.

Demo:

notiftoggles.mp4

Tested on personal & fresh copy, does not seem to break anything and usage is purely optional.

Additional Features

  • Badge for unread notifications in on mode
    image
  • Notification Counter in popout for both on and off mode
    image
    image

@soramanew
Copy link
Collaborator

I don't really see a point to saving the notifications to a queue or the icon when notifications are enabled. I do see the use of a dnd toggle though. Will probably impl that in a few days

@thaemisch
Copy link
Contributor Author

@soramanew i can make icons and saving optional if you want, but if you have your own ideas i wont spend extra time on this commit

@soramanew
Copy link
Collaborator

I'll just add a dnd toggle for now, we can add more features when Quickshell persistent notifications are implemented (and I implement a notification dock)

@Sundhar22
Copy link

I don't really see a point to saving the notifications to a queue or the icon when notifications are enabled. I do see the use of a dnd toggle though. Will probably impl that in a few days

I think we need to toggle the notification and its icon to enable or disable notifications. We can also arrange the icons horizontally in three rows instead of vertically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants