Class: Notiffany::Notifier::Emacs

Inherits:
Base
  • Object
show all
Defined in:
lib/notiffany/notifier/emacs.rb,
lib/notiffany/notifier/emacs/client.rb

Overview

Send a notification to Emacs with emacsclient (www.emacswiki.org/emacs/EmacsClient).

Defined Under Namespace

Classes: Client

Constant Summary collapse

DEFAULTS =
{
  client:    'emacsclient',
  success:   'ForestGreen',
  failed:    'Firebrick',
  default:   'Black',
  fontcolor: 'White'
}.freeze
DEFAULT_ELISP_ERB =
<<EOF.freeze
(set-face-attribute 'mode-line nil
  :background "<%= bgcolor %>"
  :foreground "<%= color %>")
EOF

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