Page 1 of 1

notify-send "Volume (Master)"

Posted: 26. Jul 2013, 17:13
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?

Re: notify-send "Volume (Master)"

Posted: 31. Jul 2013, 08:04
by gapan
No, I don't think that is possible.

Re: notify-send "Volume (Master)"

Posted: 31. Jul 2013, 10:58
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?