Sha256: ed54bad53851afcba87e6f1b285f9268c3a2b00cb9910f6149333b1d4fc45024
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
= Libnotify Ruby binding for libnotify using FFI. == Usage require 'libnotify' # Using a block Libnotify.new do |notify| notify.summary = "world" notify.body = "hello" notify.timeout = 1.5 # or 1000ms, nil, false notify.urgency = :critical # or :low, :normal, :critical notify.icon_path = "/usr/share/icons/gnome/scalable/emblems/emblem-default.svg" notify.show! end # Alternative syntax Libnotify.show(:body => "hello", :summary => "world", :timeout => 2.5) == Install via gemcutter gem install gemcutter gem tumble gem install libnotify == Authors * Peter Suschlik == TODO * Tests!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
libnotify-0.0.1 | README.rdoc |