ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Weird behaviour when using notify-send.sh

arnevm123 opened this issue · comments

Please read through the README and the Man pages before submitting
Please also make sure that there isn't any prior issue describing this bug

Describe the bug
When using https://github.com/vlevit/notify-send.sh I get a weird issue. I have a script to give me a notification of my volume whenever I press my volume up/down.

I use notify-send-sh for this. The issue is that if I don't use the -f flag (force expire) I get a lingering notification in my notification center. If I do use the force expire flag, my notification seems to expire after exactly 2 seconds, even though I send "new" notifications because I use volume up/down.

recording.1.mp4

To Reproduce
Steps to reproduce the behavior:
clone https://github.com/vlevit/notify-send.sh and use this command multiple times:

./notify-send.sh --replace-file=/tmp/test "test" -t 2000 -f

Expected Behaviour
Close 2 seconds after the last sent command.

Desktop (please complete the following information):

  • OS: Fedora 39
  • Version 0.9.0

Additional context
Not sure if this is a bug on your behalf or on notif-send.sh. (or if this is just non compatible between the two programs)
If this is not something you want to look into, because it's really niche, feel free to close this issue.
Or if you have a built in solution in swaync that I could use for similar behavior that I missed that would be nice to know!

Try using the hint string:synchronous:volume-progress