Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stacked notifications? #286

Open
robksawyer opened this issue Mar 9, 2021 · 3 comments
Open

Stacked notifications? #286

robksawyer opened this issue Mar 9, 2021 · 3 comments

Comments

@robksawyer
Copy link

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

@kevinjalbert
Copy link

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
Copy link

abcdenis commented Aug 25, 2022

@kevinjalbert
this doesn't work.

What I did:

  • wrote script terminal-notifier-stask.sh
terminal-notifier -message "group1"  -group group1
terminal-notifier -message "group2"  -group group2
terminal-notifier -message "group3"  -group group3
terminal-notifier -message "group4"  -group group4
terminal-notifier -message "group5"  -group group5
  • run it:
    bash terminal-notifier-stask.sh

  • got this output

* Removing previously sent notification, which was sent on: 2022-08-25 19:11:26 +0000
* Removing previously sent notification, which was sent on: 2022-08-25 19:11:26 +0000
* Removing previously sent notification, which was sent on: 2022-08-25 19:11:26 +0000
* Removing previously sent notification, which was sent on: 2022-08-25 19:11:26 +0000
* Removing previously sent notification, which was sent on: 2022-08-25 19:11:26 +0000

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants