Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

save filenames of marked files #451

Open
hektr opened this issue May 19, 2021 · 1 comment
Open

save filenames of marked files #451

hektr opened this issue May 19, 2021 · 1 comment

Comments

@hektr
Copy link

hektr commented May 19, 2021

Hi! Can I save filenames of marked files on text file, using sxiv?
Thanks!

@defaultxr
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants