dunst icon indicating copy to clipboard operation
dunst copied to clipboard

script not run for stacked duplicate notifications

Open mpareja opened this issue 2 years ago • 2 comments

Issue description

  1. Enable stack_duplicates = true
  2. Configure a notification to run a script (like play a sound)
  3. Send first notification (sound plays)
  4. Send second notification before first notification timeout

Unexpected

The script is not run for the second notification.

Expected

The script IS run for the second notification.

Installation info

  • Version: Dunst - A customizable and lightweight notification-daemon 1.8.1 (2022-03-02)
  • Install type: apt package
  • Window manager / Desktop environment: debian + regolith-desktop
Minimal dunstrc
[global]
    stack_duplicates = true
    always_run_scripts = true

[ustatus-passed]
	summary = *PASS*
	script = play-success-sound
	timeout = 10

mpareja avatar Oct 06 '22 10:10 mpareja

always_run_scripts = true

apprehensions avatar Nov 03 '22 06:11 apprehensions

Hi @wael444, I do have always_run_scripts = true. I updated the minimal config above to reflect that.

I've also updated the dunst version as I've confirmed the issue on 1.8.1.

mpareja avatar Nov 23 '22 15:11 mpareja