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

hs.notify.show doesn't work #3631

Open
x-tropy opened this issue Apr 23, 2024 · 2 comments
Open

hs.notify.show doesn't work #3631

x-tropy opened this issue Apr 23, 2024 · 2 comments

Comments

@x-tropy
Copy link

x-tropy commented Apr 23, 2024

hs.hotkey.bind({ "cmd", "shift", "ctrl" }, "J", function()
  -- hs.notify.new({ title = "Hammerspoon", informativeText = "Hello World" }):send()
  print("Hello World")
  hs.notify.show("title", "subTitle", "information")
end)

The console prints "Hello World", but notification is not generated.
And the commented line also doesn't work.

@sepl2604
Copy link

works for me out of the box

image

are there any errors in Hammerspoon console? Do other notifications work from Hammerspoon? Is Hammerspoon allowed to send/show notifications?

98356

Do you have some "Focus" mode active? Hammerspoon should be included in "Allowed Apps" in this case

44851

Cheers

@x-tropy
Copy link
Author

x-tropy commented Apr 23, 2024

Thanks!

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

2 participants