ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.17k stars 60 forks source link

Do not keep transient notifications in the CC #121

Closed aruhier closed 2 years ago

aruhier commented 2 years ago

Fixes #120.

Notifications can indicate in their hints that they should be transient. A transient notification is not persistent, therefore, respects this hint and do not stack transient notifications in the control center.

Edited by @ErikReider: Example notification notify-send.sh "Test Notification" '<b>Transient Notification</b>' -h "int:transient:0"

ErikReider commented 2 years ago

Are there any examples of notifications that are transient like Spotify?

aruhier commented 2 years ago

Are there any examples of notifications that are transient like Spotify?

Not that I'm aware of. But a user might want to trigger a notification with the transient hint, for example if a laptop's charger is plugged or unplugged, with notify-send.