News for hackers. Stuff that matters.
Re:You're using function keys wrong by trumpeta on Wednesday January 04, 2023 @09:11AM (#34245654)
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.

Re:You're using function keys wrong by p2hari on Wednesday January 04, 2023 @09:32AM (#34245872)
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

1. https://github.com/andweeb/Ki

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.
Re:You're using function keys wrong by eviks on Wednesday January 04, 2023 @10:20AM (#34246521)
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.
Re:You're using function keys wrong by pigcat on Friday January 06, 2023 @01:36PM (#34278902)
Can you please elaborate? How does this not interfere with typing?
Re:You're using function keys wrong by billbrown on Wednesday January 04, 2023 @03:41PM (#34251203)
Karabiner Hyper key plus Alfred is The Way.