Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice!! I'm going to have to play with this. Now what I really want to see, and I'm surprised doesn't exist, is an addon for or replacement to Spotlight that works like dmenu in that I can write scripts which use it for input like:

  printf 'one\ntwo\nthree' | dmenu -l 3 -p "Which one? "
I use that in so many scripts on my main machines and would love to share them with macOS folks. I'm really surprised its not in something like Alfred.

Maybe it exits and I don't know about it?? If not, maybe someone will add it to this open source Spotlight replacement I found: https://github.com/techrisdev/Snap



There's a clone of dmenu - https://github.com/oNaiPs/dmenu-mac, but it doesn't integrate with Spotlight or similar.


Yeah, Ive seen that, but it would be a hard sell getting macOS guys to run that and replace the spotlight keybind with that entirely. I tend to agree with them too.. I just would like to see Spotlight have the ability to do dmenu scripting stuff. There's no reason it couldn't except lack of vision.

I honestly think Apple would be half keen to do it themselves, they just probably haven't seen the idea to steal it yet


I implemented something like this as a Raycast extension[0]. Demo attached[1].

[0] https://github.com/irth/dmenu_raycast

[1] https://akko-cdn.hackrc.dev/media/e34cdc7683fece5260124ef47c...


Amazing!! I had never heard of Raycast! I'll be checking this out first thing in the morning! Thank you!


let me know if you have any suggestions. i’ll probably try to make it more self contained (e.g. make it possible to install the script into PATH from the extension itself) and eventually get it into Raycast extension store (haven’t read their guidelines yet though)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: