Yep, this was the way I use it too. I had 'qmk' shortcuts but later moved to hammerspoon approach.
Right now trying this set up . Andweeb's 'Ki Spoon' [1] for much efficient workflow. It is still under development
Re:You're using function keys wrong
by lewispollard on Wednesday January 04, 2023 @09:17AM
(#34245713)
i3wm workspaces + bindkeys shortcuts come to mind, this is my natural workflow in i3
meta+1-9 to switch workspaces, meta+various keys to launch applications (and can configure i3 to launch them into preferred workspaces if desired)
Re:You're using function keys wrong
by Graziano_M on Wednesday January 04, 2023 @09:42AM
(#34246005)
I do the same (though I use spacehammer which is built on top of hammerspoon). It's been the biggest game changing in my keyboard-driven productivity. I don't like how it feels non-deterministic to command-tab since the order of the apps change. With a hotkey for each I know exactly what will show up when I hit the key, and better than using function keys, I don't have to move my hand from home row, plus it works when I use an external keyboard (which is most of the time).
Re:You're using function keys wrong
by mtlmtlmtlmtl on Wednesday January 04, 2023 @09:55AM
(#34246162)
This is what I did in stumpwm. And I had a nice macro so I could define an app's command, what key to map to, what desktop it lives on, and whether jumping to the window or pulling it to me was the default.
You can also make your Spacebar (with a tiny delay not to interfere with typing) an app-launcher key, and then you don't even need to move your poor pinky for such frequent
space+r for browser
space+f for file manager, etc.
Can you please elaborate? How does this not interfere with typing?
So e.g. I have hyper+a for Alacritty, hyper+b for Browser etc.