-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature request: right click options #1
Comments
Hello there, I originally intended to implement this feature right from the start. As it didn't seem to me that anyone other than me is using the project, I slacked off on the development. The ground work is already there, as I needed to detect the node from the mouse position for the tooltip that shows the file name. The implementation should be easy, we would store the current node under the cursor when the right click happened, and generate a PopoverMenu with the actions for the node. It's great motivation for me that someone wishes for this feature. I will get to it when I have time. |
You failed to promote this project 😉 but maybe I can help. CC @arieltorti |
Haha, indeed I have. I was hoping the AUR entry might help a little but it didn't. Couldn't bother with reddit or flatpak stores etc. |
I have made the commit de2a032 to implement this. It's available in the 0.1.1-beta1 pre-release. (However, the Windows build seems to need some adjustments to work) |
Great! LMK once I can test the Windows version. "Command prompt from here"? (Or you may want to accept "plug-ins" for the actions and leave it extensible, youbmay have windows and linus plugins) |
Or, a confirguration file with pairs [text, command] ---
actions:
- delete:
- windows: del
- linux: "rm -rf" |
If this is only for a delete action, implementing a delete option is much simpler than making it that customizable with commands. Is there really a need for that much customization? I will update this issue when I have fixed the windows build problem. |
I think that the yaml configuration file will save you a lot of work, by allowing users to add arbitrary commands. All that, solved with a yaml file :) |
Good news everyone! As for the configurable actions... I'll think about it, but I think it's a bit overkill. I intended this to be a minimally configured, works-out-of-the-box type app (see: there's currently nothing you can configure). Also, it functions as a single executable on platforms other than Windows, so it was meant to be very portable. (Unfortunately I couldn't make this work the same on Windows so it's a bunch of dll files in a folder, due to the limitations of GTK.) I will definitely get to implementing the Delete action later, however. That one clearly should be there. I just need to implement a little more for that, confirmation boxes and whatnot. |
Great! I will test it tonight.
Well, if the user calls a script that he/she configured in the config file, I assume the person is responsible of what is doing. |
Tried and worked. Comments:
|
Just added "Move to Trash" functionality with commit b717b59. Will be included along with an option to permanently delete in a coming release. |
Proposal: enable a context menu with actions on the boxes, for example:
The text was updated successfully, but these errors were encountered: