Created
February 2, 2019 05:28
-
-
Save justinyanme/dd828184aead9e53bd035c9296c938d0 to your computer and use it in GitHub Desktop.
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
on alfred_script(q) | |
if ((q as string) is equal to "po") then | |
tell application "JustFocus" | |
launch | |
start pomodoro | |
end tell | |
else if ((q as string) is equal to "sb") then | |
tell application "JustFocus" | |
launch | |
short break | |
end tell | |
else if ((q as string) is equal to "lb") then | |
tell application "JustFocus" | |
launch | |
long break | |
end tell | |
else if ((q as string) is equal to "st") then | |
tell application "JustFocus" | |
stop | |
end tell | |
end if | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment