Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save braddevelop/8ed8dea04397b0471299c8c89f8a9ae0 to your computer and use it in GitHub Desktop.
Save braddevelop/8ed8dea04397b0471299c8c89f8a9ae0 to your computer and use it in GitHub Desktop.
Hellfred Basics: hellfirepack-applications step 2
-- ... hellfred/extend/basics/hellfirepack-applications.lua
local _factory = function(trigger, app)
return {
trigger = trigger,
fireIfModeIs = _G.HELLFIRE_MODES.DEFAULT,
callback = function() hs.application.launchOrFocus(app) end
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment