julienXX / terminal-notifier

Send User Notifications on macOS from the command-line.
Other
6.39k stars 330 forks source link

Stacked notifications? #286

Open robksawyer opened 3 years ago

robksawyer commented 3 years ago

Possible to add stacked notifications? Right now one notification gets replaced with another one. Thanks, loving it.

kevinjalbert commented 3 years ago

Look at the README's option for group

-group ID

Specifies the notification’s ‘group’. For any ‘group’, only one notification will ever be shown, replacing previously posted notifications.

If you don't have that then they should stack.

https://github.com/julienXX/terminal-notifier#options

abcdenis commented 2 years ago

@kevinjalbert this doesn't work.

What I did:

Notifications were played one by one in the same place.

Is there any working sample for stacked notifications available? Thank you.

macOS Catalina 10.15.7

kevinjalbert commented 2 years ago

If I had to take a guess it is possible you had run the script before and terminal-notifier was behaving as expected. The 'previously' sent notification might still have resided in the control center area of MacOS, even though it auto-hide.

I'm on terminal-notifier 2.0.0, macOS Monterey 12.4 (21F79).

When I tried it out everything worked as expected (group1 msg was replaced):

image