Module: Notifier::Kdialog
Instance Method Summary collapse
Instance Method Details
#notify(options) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/notifier/kdialog.rb', line 9 def notify() command = [ "kdialog", "--title", [:title], "--passivepopup", [:message], "5" ] Thread.new { system(*command) } end |