Skip to content

Instantly share code, notes, and snippets.

@pyrho
Created March 23, 2020 16:11
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pyrho/d2f4fe152eb8113b1956edd6d7456862 to your computer and use it in GitHub Desktop.
Save pyrho/d2f4fe152eb8113b1956edd6d7456862 to your computer and use it in GitHub Desktop.
Alfred Kitty custom terminal integration
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
@pyrho
Copy link
Author

pyrho commented Jul 1, 2022

Thank you for sharing this with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment