notify-send "Volume (Master)"

Other talk about Salix
Post Reply
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

notify-send "Volume (Master)"

Post by zAchAry »

Hello,

I want to use the following commands when I raise/lower Volume Level.

Code: Select all

$ notify-send "Volume (Master)" "$(echo $(amixer sset Master,0 1+ | tail -n 1))" -i multimedia-volume-control
$ notify-send "Volume (Master)" "$(echo $(amixer sset Master,0 1- | tail -n 1))" -i multimedia-volume-control
I use xfce4-notifyd as a notification manager.
I do not want to see several popups each time I raise/lower volume level.
Is it possible to make notify-send to terminate previous popup when a new popup appears?
Image
Help to make Slackware easier Donate to Salix
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: notify-send "Volume (Master)"

Post by gapan »

No, I don't think that is possible.
Image
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: notify-send "Volume (Master)"

Post by zAchAry »

Is it possible to use these via a script and terminate pid of script when script is being invoked again?

How does xfce4-volumed handle its own notifications?
Image
Help to make Slackware easier Donate to Salix
Post Reply