News for hackers. Stuff that matters.
Re:Ask HN: What does one look for in a laptop these days? by Oddskar on Saturday October 16, 2021 @02:40PM (#28890273)
My friends couldn't stop praising the UX but even after a long time trying to get used to it I still am annoyed by the application switching keyboard shortcuts, lack of ability to set system wide shortcuts for launching basic things like terminal.

Hammerspoon is the answer to all of these. The common solution is to rebind caps lock (using Karabiner Elements) to be “hyper” (cmd + alt + shift + ctrl) and then bind global keyboard shortcuts with that using Hammerspoon.

Re:Ask HN: What does one look for in a laptop these days? by pxc on Saturday October 16, 2021 @08:40PM (#28892949)
If someone were complaining about inability to configure keyboard shortcuts on Linux and you recommended a solution like Hammerspoon, it'd invite an onslaught of ‘this is why Linux is too overcomplicated and annoying for normal people’ comments.

Setting global keyboard shortcuts on Linux doesn't require you to learn a whole-ass LUA API. It's just there, for all the popular DEs.

Re:Ask HN: What does one look for in a laptop these days? by Oddskar on Sunday October 17, 2021 @03:16AM (#28894586)
Oh I absolutely agree. MacOS in general is not very good for power users out of the box.
Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @03:47PM (#28890840)
I vaguely remember having tried hammerspoon but can't remember why I didn't continue using it. Will give it a proper shot. Thanks!
Re:Ask HN: What does one look for in a laptop these days? by harshitaneja on Saturday October 16, 2021 @03:58PM (#28890937)
Okay. Just tried hammerspoon and I love it. Love the documentation as well. Thanks.