Skip to content

Instantly share code, notes, and snippets.

@shekohex
Created June 13, 2022 12:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shekohex/5618623a31d1846a7e8dbffd5955b0cb to your computer and use it in GitHub Desktop.
Save shekohex/5618623a31d1846a7e8dbffd5955b0cb to your computer and use it in GitHub Desktop.
Wezterm with Alfred Custom Terminal
on alfred_script(q)
tell application "wezterm" to activate
do shell script "/Applications/WezTerm.app/Contents/MacOS/wezterm cli send-text "
tell application "System Events" to keystroke q
tell application "System Events"
key code 36 -- enter key
end tell
end alfred_script
@gogamid
Copy link

gogamid commented Dec 29, 2023

this does not work anymore, so here is the update
https://gist.github.com/gogamid/664bccb3d02acfbc4abc0ba4dcc209d8

@namtonthat
Copy link

Hmm it works for me

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