Copy to primary buffer and clipboard
The file names are separated with newlines in the primary and with spaces in the clipboard.
This commit is contained in:
		@@ -23,7 +23,7 @@ rotate() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
case "$1" in
 | 
					case "$1" in
 | 
				
			||||||
"y")        tr '\n' ' ' | xclip -i ;;
 | 
					"C-x")      xclip -in -filter | tr '\n' ' ' | xclip -in -selection clipboard ;;
 | 
				
			||||||
"C-c")      while read file; do xclip -selection clipboard -target image/png "$file"; done ;;
 | 
					"C-c")      while read file; do xclip -selection clipboard -target image/png "$file"; done ;;
 | 
				
			||||||
"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 ;;
 | 
					"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 ;;
 | 
				
			||||||
"C-g")      tr '\n' '\0' | xargs -0 gimp & ;;
 | 
					"C-g")      tr '\n' '\0' | xargs -0 gimp & ;;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user