Skip to content
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

Select files as prompt #42

Open
apprehensions opened this issue Sep 7, 2023 · 4 comments
Open

Select files as prompt #42

apprehensions opened this issue Sep 7, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@apprehensions
Copy link
Contributor

Allow for xfiles to select a few files to stdout seperated by newlines, after xfiles quits.

nnn(1) has support for this via the -p parameter.

@apprehensions
Copy link
Contributor Author

Unfortunately, there is no way to quit xfiles other than killing it, so i don't think this will be possible.

My only suggestion would be to allow Ctrl+Q to be the only xfiles keybind for it to cleanly exit.

@phillbush
Copy link
Owner

That's something I have in mind: a file-selection dialog mode.
I am not sure how I should implement it (do I add a cancel and a confirmation button like in most DE's file dialogs?).
Soon after I figure out how it should be done I will start working on it.

@phillbush phillbush added the enhancement New feature or request label Sep 7, 2023
@apprehensions
Copy link
Contributor Author

Instead of implementing it in xfiles, use xmenu or pmenu or that other one I used to use in shod.

What my issue is here to simply select files, cleanly exit and get the selected files from stdout.

@apprehensions
Copy link
Contributor Author

anything new about this? i would like to use xfiles as my file selector using xdg portals!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants