I would like to have a shortcut to open my terminal emulator "Alacritty". It is installed as a mac app (.app directory) and a standalone executable. (Installed via brew)
I made an Automator action for it, which I then could bind to a system-wide shortcut in the System Settings. The desired action would be: a) The app launches with the icon and b) opens a new instance everytime the run the action (not just brings the current window to focus).
The following things were tried but failed in one way or the other:
- Use the "Launch Application" action from Automator. This won't work, because instead of creating a new instance of Alacritty, it focuses the old one.
- Use the "Run Shell Script" action and just enter the binary path. This works, but the Alacritty instance doesn't have its icon.
- Use the "Run Shell Script" action, but enter "open /Applications/Alacritty.app". This seems to work when I run it from Automator. However when I run it using the shortcut, it still lacks the icon.
Are there any other options I haven't explored? Thanks!