Created
August 15, 2022 20:43
-
-
Save braddevelop/8ed8dea04397b0471299c8c89f8a9ae0 to your computer and use it in GitHub Desktop.
Hellfred Basics: hellfirepack-applications step 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ... 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