Feature request: Add a parameter for custom actions to get the currently open window directory
I think a %w parameter should be added, for custom actions to get the currently open window directory regardless of what is selected
As it stands, there is %f, %d, %n (and %F, %D, %N are the same but return the multiple items selected, not just the first)
%f is the currently selected item's path , %d is the currently selected item's parent's path , and %n is the currently selected item's name without path. But if there is no selected item, the "currently selected item" for these parameters is just the window's current location.
This makes things harder for custom action commands, not knowing if an item is actually selected or it is a folder being viewed. You might not like the behavior of the example "open terminal" action opening terminals in the selected folder instead of the window directory if one is selected, making it just the open current folder. You can't currently distinguish between selected folder or open folder with no selection.
It might also make sense to make a new condition for the context menu being "nothing selected" so that commands for just selected items don't get executed on a right click in a folder with nothing selected.
Sorry if I've got anything wrong, somewhat of a linux noob.