Skip to content

Instantly share code, notes, and snippets.

@jaytaph
Created December 18, 2019 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaytaph/165b5a0597408aaf03068e8b7ca27d63 to your computer and use it in GitHub Desktop.
Save jaytaph/165b5a0597408aaf03068e8b7ca27d63 to your computer and use it in GitHub Desktop.
joplin.jua
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