class Guard::Notifier::Libnotify

def _libnotify_urgency(type)

Returns:
  • (Symbol) - the libnotify urgency

Parameters:
  • type (String) -- the Guard notification type
def _libnotify_urgency(type)
  case type
  when 'failed'
    :normal
  else
    :low
  end
end