MatthiasGrandl / Loungy

Loungy is a WIP launcher in the vein of Spotlight, Alfred, Raycast.
MIT License
1.35k stars 70 forks source link

Finder - New Window #34

Open distek opened 1 week ago

distek commented 1 week ago

Hi again!

It would be handy if Finder was available within Loungy.

The way I've done this in the past is adding a special case for Finder specifically by way of

    open -n $HOME

Which will open a new finder window starting at, you guessed it, the user's home directory.

How would you feel about this?

I think the user's home would be a sane default, but there could also be a fuzzy match for a directory starting from rather / or the $HOME directory.

MatthiasGrandl commented 1 week ago

I don’t 100% understand the request. I think your issue is that Loungy will just focus the current Finder window when selecting it in the app list? I would rather not implement special behavior for each app, BUT I want to specifically implement proper cross platform filesystem search. Maybe that fits your needs?

distek commented 1 week ago

Maybe somethings wrong with how I'm using it? lol

When I type in "Finder", nothing appears at all. Is this not what you see?

image
MatthiasGrandl commented 1 week ago

Ugh you are right. The problem is Finder.app is in a folder with a bunch of other garbage. I added it manually to the app list.

distek commented 1 week ago

Finder is also a weird beast in and of itself. Since it manages all "standard" file management representations on MacOS, it has to be omnipresent, but it also needs to be told to launch a new window whenever it's called upon (hence it being tied into open in such a way).

What about it being in it's own sub-command? Like clipboard, you'd hit finder and then home or something along those lines?

Nesting it like that now that I say it sounds unintuitive, though.