mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 08:45:39 +00:00
prevent bugs in hammerspoon switcher
This commit is contained in:
parent
ba3aa9cd93
commit
2e737fd85c
@ -25,7 +25,9 @@ end
|
||||
|
||||
function obj:init()
|
||||
-- Begin launcher mode
|
||||
if self.launcher == nil then
|
||||
self.launcher = hs.hotkey.modal.new("ctrl", "space")
|
||||
end
|
||||
|
||||
-- Behaviors on enter
|
||||
function self.launcher:entered()
|
||||
@ -44,6 +46,7 @@ function obj:init()
|
||||
end)
|
||||
|
||||
-- Launcher shortcuts
|
||||
self.launcher:bind("ctrl", "space", function() end)
|
||||
self.launcher:bind("", "space", function()
|
||||
hs.hints.windowHints()
|
||||
self.launcher:exit()
|
||||
|
Loading…
Reference in New Issue
Block a user