Module Guard::Notifier::Tmux
In: lib/guard/notifiers/tmux.rb

Changes the color of the Tmux status bar

@example Add the `:tmux` notifier to your `Guardfile`

  notification :tmux

Methods

Constants

DEFAULTS = { :client => 'tmux', :tmux_environment => 'TMUX', :success => 'green', :failed => 'red', :default => 'green'

Public Instance methods

Test if currently running in a Tmux session

@param [Boolean] silent true if no error messages should be shown @return [Boolean] the availability status

Show a system notification.

@param [String] type the notification type. Either ‘success’, ‘pending’, ‘failed’ or ‘notify’ @param [String] title the notification title @param [String] message the notification message body @param [String] image the path to the notification image @param [Hash] options additional notification library options @option options [Boolean] sticky make the notification sticky @option options [String, Integer] priority specify an int or named key (default is 0)

Get the Tmux color for the notification type. You can configure your own color by overwriting the defaults.

@param [String] type the notification type @return [String] the name of the emacs color

[Validate]