From 933f775cd7d1cefd4ba16949d765456de4644bb7 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Wed, 15 Jan 2020 17:46:13 -0800 Subject: [PATCH] [hammerspoon] fix stopping Quitter spoon --- .hammerspoon/Spoons/Quitter.spoon/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.hammerspoon/Spoons/Quitter.spoon/init.lua b/.hammerspoon/Spoons/Quitter.spoon/init.lua index 5d61a24..84ba0c6 100644 --- a/.hammerspoon/Spoons/Quitter.spoon/init.lua +++ b/.hammerspoon/Spoons/Quitter.spoon/init.lua @@ -59,7 +59,7 @@ end --- * None function obj:stop() self.watcher:stop() - self.windowFilter:unsubscribe() + self.windowFilter:unsubscribe(hs.window.filter.windowFocused) self.timer:stop() end