Not for polybar but you might like to look into SwayNotificationCenter, I use it as the notification daemon of my hyprland setup and it has all the previous notifications in a menu with a do-not-disturb mode. I use a keybind to open up the menu but you could add an icon to polybar that when clicked runs swaync-client -t
to toggle the menu.
this post was submitted on 05 May 2024
12 points (100.0% liked)
Unixporn
15364 readers
3 users here now
Unixporn
Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!
Rules
- Post On-Topic
- No Defaults
- Busy Screenshots
- Use High-Quality Images
- Include a Details Comment
- No NSFW
- No Racism or use of racist terms
founded 5 years ago
MODERATORS
AFAIK polybar is X11 only, so OP is probably not looking for a Wayland solution, right?
Oh yes oops! I'm not sure why I thought polybar ran on Wayland, I probably was thinking of yambar.