Created
March 30, 2020 11:12
-
-
Save ashkrosh/81074f45abffde7a3152efa1eb2ffbf8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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) | |
set startIt to false tell application "System Events" if not (exists process "kitty") then set startIt to true else if not (frontmost of process "kitty") then set frontmost of process "kitty" to true set visible of process "kitty" to true tell application "System Events" to key code 126 using {option down, command down} end if end tell if startIt then tell application "kitty" to activate end if | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment