Open kwagi opened 4 months ago
Nice idea. Lets add a config file in walk.
ranger uses a scope.sh file to allow a user to configure different viewers. perhaps just adopt that? It then makes it easier to migrate from ranger or for the 2 to co-exist
I would love to be able to open files/folders in vscode using a shortcut. Running code <filename/folder>
would suffice. Configurable shortcut keys for running commands perhaps?
I managed to do it in my fork (since this version seems unmaintained) https://codeberg.org/TheTuzu/walk, you can set it trough environment variables, I might add config file if I feel like it. You can do export IMG_VIEWER=feh
and export PDF_VIEWER=firefox
for example.
For application/pdf, use firefox. And image/jpg, use feh. Something like that.