lib/notifier/notify_send.rb in notifier-0.1.2 vs lib/notifier/notify_send.rb in notifier-0.1.3
- old
+ new
@@ -6,10 +6,10 @@
RUBY_PLATFORM =~ /(linux|freebsd)/ && `which notify-send > /dev/null` && $? == 0
end
def notify(options)
Thread.new do
- `notify-send -i #{options[:image]} #{options[:title]} \"#{options[:message]}\"`
+ `notify-send -i #{options[:image]} "#{options[:title]}" "#{options[:message]}"`
end
end
end
end