sxiv
sxiv copied to clipboard
save filenames of marked files
Hi! Can I save filenames of marked files on text file, using sxiv? Thanks!
You can set a key in your ~/.config/sxiv/exec/key-handler to do it. The default key-handler is already set so that pressing ctrl+x ctrl+x sends the marked files to the clipboard using xclip (see line 26). You could modify it or add your own line that runs cat >/path/to/your/file.txt to save the list of files to a file instead.