Skip to content
dag edited this page Sep 12, 2010 · 32 revisions

Configuration is written in YAML and resides by default in ~/.amazing.yml. This behavior can be altered with the -c or --config switch, as in amazing --config /path/to/config.yml.

Values

include: - list - of - scripts screens: - list - of - screens widgets: identifier: type: WidgetName every: seconds format: ruby code options: widget: foo specific: bar

Example

include: - /path/to/some.rb screens: - 0 - 1 widgets: pb_bat: type: Battery every: 10 tb_time: type: Clock every: 1 options: time_format: %T tb_mail: type: Maildir options: directories: - Mail/**/new - Mail/inbox/cur

Notes

Be wary that the configuration layout will likely change.

  • Widget configuration will be screen specific, this also obsoletes the screens list
  • Scripts will be included automatically from ~/.amazing/*.rb, rendering the include list less of a necessity
    • How this should be configured needs to be decided
  • Custom widget configuration will probably be on equal level with the rest of the widget configuration, rendering the options list obsolete

Example

widgets: 0: tb_mail: type: Maildir directories: - Mail/**/new - Mail/inbox/cur
Clone this wiki locally