Merge pull request #115 from zonque/master
[Linux] Add ':transient => true' to default libnotify options (make the notices vanish after a few seconds).
This commit is contained in:
commit
a58e5d8fa5
@ -51,7 +51,7 @@ module Guard
|
|||||||
|
|
||||||
def self.notify_linux(title, message, image, options)
|
def self.notify_linux(title, message, image, options)
|
||||||
require_libnotify # need for guard-rspec formatter that is called out of guard scope
|
require_libnotify # need for guard-rspec formatter that is called out of guard scope
|
||||||
default_options = { :body => message, :summary => title, :icon_path => image_path(image) }
|
default_options = { :body => message, :summary => title, :icon_path => image_path(image), :transient => true }
|
||||||
Libnotify.show default_options.merge(options) if enabled?
|
Libnotify.show default_options.merge(options) if enabled?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user