Created
June 13, 2022 12:49
-
-
Save shekohex/5618623a31d1846a7e8dbffd5955b0cb to your computer and use it in GitHub Desktop.
Wezterm with Alfred Custom Terminal
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) | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this does not work anymore, so here is the update
https://gist.github.com/gogamid/664bccb3d02acfbc4abc0ba4dcc209d8