Sample Header Ad - 728x90

Prevent "notify-send" from stacking

4 votes
2 answers
1585 views
I have wrote this script, when the increase volume button is pressed to display desktop notifications with "notify-send". when the button is pressed:
notify-send "Current volume 'pamixer --get-volume'" The problems is that the notifications get stacked e.g. enter image description here Is there a way to prevent the notifications from stacking and just display the newest notification?
Asked by Daniel (317 rep)
Jul 7, 2017, 08:01 PM
Last activity: Jan 8, 2025, 06:04 PM