Another way of doing this is assign Hyper key to Caps Lock with Karabiner and then use that to set up hyper+X shortcuts to different or macros using Hammerspoon.
So e.g. I have hyper+a for Alacritty, hyper+b for Browser etc.
So e.g. I have hyper+a for Alacritty, hyper+b for Browser etc.
meta+1-9 to switch workspaces, meta+various keys to launch applications (and can configure i3 to launch them into preferred workspaces if desired)