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(query) | |
| try | |
| -- Check if WezTerm is running | |
| set weztermRunning to false | |
| tell application "System Events" | |
| if (name of processes) contains "wezterm-gui" then | |
| set weztermRunning to true | |
| end if | |
| end tell | |