nsxiv71c5766
Copy to primary buffer and clipboard
The file names are separated with newlines in the primary and with spaces in the clipboard.
+1 −1
1 file changed
- M exec/key-handler +1 −1
| @@ -23,7 +23,7 @@ rotate() { | |||
| 23 | 23 | } | |
| 24 | 24 | ||
| 25 | 25 | case "$1" in | |
| 26 | − | "y") tr '\n' ' ' | xclip -i ;; | |
| 26 | + | "C-x") xclip -in -filter | tr '\n' ' ' | xclip -in -selection clipboard ;; | |
| 27 | 27 | "C-c") while read file; do xclip -selection clipboard -target image/png "$file"; done ;; | |
| 28 | 28 | "C-e") while read file; do urxvt -bg "#444" -fg "#eee" -sl 0 -title "$file" -e sh -c "exiv2 pr -q -pa '$file' | less" & done ;; | |
| 29 | 29 | "C-g") tr '\n' '\0' | xargs -0 gimp & ;; | |