Class: DZEN::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/dzen/base.rb

Overview

Default Dzen2 output The in-text formating commands are used as defined at dzen.geekmode.org/dwiki/doku.php?id=dzen:command-and-option-list

Constant Summary collapse

Config =
{
  :delimiter => "^fg(#333333)^p(5;-2)^ro(2)^p()^fg()^p(5)",
  :ending => "^p(6)\n",
  :interval => 3,
  :output => $stdout,
  :output_method => :puts,
  :color => {
    :start => proc{|c| "^fg(#{c})"},
    :end => proc{|c| "^fg()" }
  }
}

Instance Attribute Summary

Attributes inherited from Base

#config

Method Summary

Methods inherited from Base

#add_before_run, #add_handler, #configure, #initialize, #order=, #run!, #sort_apps!

Constructor Details

This class inherits a constructor from DZEN::Base