[bin] Copy dropped element into primary clipboard
This commit is contained in:
parent
3d9de65fc6
commit
14fbb8b7c7
|
@ -16,5 +16,5 @@ Net::SCP.start("drop.bascht.space", "bascht") do |scp|
|
|||
scp.upload(file.expand_path.to_s, "/home/bascht/drop/#{new_name}")
|
||||
end
|
||||
|
||||
Open3.popen3( "xclip" ){ |input, _, _| input << url }
|
||||
Open3.popen3( "xclip -i -selection clipboard" ){ |input, _, _| input << url }
|
||||
system("xdg-open '#{url}'")
|
||||
|
|
Loading…
Reference in New Issue