-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return path of mounted drive #3
Comments
I think, its a good idea. |
Hm, that seems reasonable. I'm not aware of how to select more than one item in dmenu, but maybe I'm missing something. I would implement this myself, but unfortunately my node/js is a bit rusty. |
In that case when you select the first option which represents the whole device, not just a single partition, Your particular case would be perhaps better solved if you hooked up directly to
So when you run eg. in your udiskie --file-manager /path/to/your/executable & |
Great little app! I find the default mount path a bit troublesome to reach though (I know that I can run
lsblk
and copy/paste, but simpler solutions are def possible), so I was thinking about auto opening udiskie-dmenu mounts with a file manager/terminal. Turns out that there is no easy way to script this app.Initially I wanted to open a PR to support auto-opening mounts in filemanagers, but I fortunately thought of the more elegant idea to just return the path of the mount point. In this way, users can script their own udiskie-dmenu behaviors on basis of the returned path, which is totally inline with the dmenu philosophy. (ofc, the default behaviour of dmenu itself is just to return the selected output)
For example:
The text was updated successfully, but these errors were encountered: