fix: dismiss notifications with hammerspoon in ventura

This commit is contained in:
Noah Masur
2023-03-02 14:47:51 -05:00
parent cdcc90f85d
commit d1f21ec874
2 changed files with 20 additions and 1 deletions

View File

@ -10,7 +10,7 @@ obj.license = "MIT - https://opensource.org/licenses/MIT"
function obj:init()
hs.hotkey.bind({ "cmd", "alt", "ctrl" }, "k", function()
hs.osascript.javascriptFromFile("Spoons/DismissAlerts.spoon/close_notifications_applescript.js")
hs.osascript.applescriptFromFile("Spoons/DismissAlerts.spoon/close_notifications.applescript")
end)
end