[bin] Show a notification instead of opening drops in a browser

This commit is contained in:
Sebastian Schulze 2018-08-22 10:46:17 +02:00
parent 5a5530c3d9
commit c792d162c4
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ Net::SCP.start("drop.bascht.space", "bascht") do |scp|
end
Open3.popen3( "xclip -i -selection clipboard" ){ |input, _, _| input << url }
system("xdg-open '#{url}'")
system("notify-send 'Uploaded successfully' '<a href=\'#{url}\'>drop.bascht.space</a>'")