Class: Notiffany::Notifier::NotifySend

Inherits:
Base
  • Object
show all
Defined in:
lib/notiffany/notifier/notifysend.rb

Overview

System notifications using notify-send, a binary that ships with the libnotify-bin package on many Debian-based distributions.

Examples:

Add the ‘:notifysend` notifier to your `Guardfile`

notification :notifysend

Constant Summary collapse

DEFAULTS =

Default options for the notify-send notifications.

{
  t: 3000, # Default timeout is 3000ms
  h: "int:transient:1" # Automatically close the notification
}
SUPPORTED =

Full list of options supported by notify-send.

[:u, :t, :i, :c, :h]

Constants inherited from Base

Base::ERROR_ADD_GEM_AND_RUN_BUNDLE, Base::HOSTS

Instance Attribute Summary

Attributes inherited from Base

#options

Method Summary

Methods inherited from Base

#_image_path, #initialize, #name, #notify, #title

Constructor Details

This class inherits a constructor from Notiffany::Notifier::Base