Created
December 18, 2019 17:16
-
-
Save jaytaph/165b5a0597408aaf03068e8b7ca27d63 to your computer and use it in GitHub Desktop.
joplin.jua
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
hs.hotkey.bind({"cmd", "shift"}, "1", function() | |
local app = hs.application.get("Joplin") | |
if app == nil then | |
local app = hs.application.open("Joplin") | |
app:activate(true); | |
else | |
app:activate(true); | |
end | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment