Browse Source

Hammerspoon: disable alt h

ubuntu_ci
Ein Verne 4 years ago
parent
commit
26bde19a66
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 2
      hammerspoon/autoscript.lua
  2. 16
      hammerspoon/init.lua

2
hammerspoon/autoscript.lua

@ -23,5 +23,5 @@ function runAutoScripts()
end
myTimer = hs.timer.doEvery(1800, runAutoScripts)
myTimer = hs.timer.doEvery(7200, runAutoScripts)
myTimer:start()

16
hammerspoon/init.lua

@ -379,14 +379,14 @@ end
----------------------------------------------------------------------------------------------------
-- Register Hammerspoon API manual: Open Hammerspoon manual in default browser
hsman_keys = hsman_keys or {"alt", "H"}
if string.len(hsman_keys[2]) > 0 then
spoon.ModalMgr.supervisor:bind(hsman_keys[1], hsman_keys[2], "Read Hammerspoon Manual", function()
hs.doc.hsdocs.forceExternalBrowser(true)
hs.doc.hsdocs.moduleEntitiesInSidebar(true)
hs.doc.hsdocs.help()
end)
end
-- hsman_keys = hsman_keys or {"alt", "H"}
-- if string.len(hsman_keys[2]) > 0 then
-- spoon.ModalMgr.supervisor:bind(hsman_keys[1], hsman_keys[2], "Read Hammerspoon Manual", function()
-- hs.doc.hsdocs.forceExternalBrowser(true)
-- hs.doc.hsdocs.moduleEntitiesInSidebar(true)
-- hs.doc.hsdocs.help()
-- end)
-- end
----------------------------------------------------------------------------------------------------
-- countdownM modal environment

Loading…
Cancel
Save