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 end
myTimer = hs.timer.doEvery(1800, runAutoScripts) myTimer = hs.timer.doEvery(7200, runAutoScripts)
myTimer:start() myTimer:start()

16
hammerspoon/init.lua

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

Loading…
Cancel
Save