Get URL from main clipboard
This commit is contained in:
		
							parent
							
								
									f9d4d262e0
								
							
						
					
					
						commit
						fcf9a26626
					
				|  | @ -47,7 +47,7 @@ if [ "${flag_inline}" = "true" ]; then | ||||||
| fi | fi | ||||||
| # Try to get URL from clipboard | # Try to get URL from clipboard | ||||||
| if [ "${flag_clipboard}" = "true" ]; then | if [ "${flag_clipboard}" = "true" ]; then | ||||||
| 	url_to_short=$(xclip -out) | 	url_to_short=$(xclip -out -selection clipboard) | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| [ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG − Get URL : URL to be shortened : ${url_to_short}" | [ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG − Get URL : URL to be shortened : ${url_to_short}" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue