Created
March 23, 2020 16:11
-
-
Save pyrho/d2f4fe152eb8113b1956edd6d7456862 to your computer and use it in GitHub Desktop.
Alfred Kitty custom terminal integration
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) | |
do shell script "/Applications/Kitty.app/Contents/MacOS/kitty @ --to unix:/tmp/mykitty new-window --new-tab" | |
tell application "kitty" to activate | |
tell application "System Events" to keystroke q | |
tell application "System Events" | |
key code 36 -- enter key | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for sharing this with us.