2008-02-28 12:36:17 +01:00
|
|
|
awesomerc(5)
|
2007-12-15 05:08:44 +01:00
|
|
|
===========
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
|
2008-05-26 15:25:40 +02:00
|
|
|
awesomerc - Configuration file for the awesome window manager
|
2007-12-15 05:08:44 +01:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2008-05-20 15:39:47 +02:00
|
|
|
None.
|
2008-01-08 16:33:22 +01:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2008-03-27 16:48:52 +01:00
|
|
|
The *awesomerc* file contains configuration informations for *awesome*. It can
|
2008-01-08 16:33:22 +01:00
|
|
|
be used to configure the behaviour and look of awesome in a variety of ways.
|
2008-05-26 15:25:40 +02:00
|
|
|
It can be assimilated as a Lua program/script run at startup by awesome.
|
|
|
|
Therefore, it should use the awesome Lua API described in the API section.
|
|
|
|
This file is read at startup.
|
2008-01-08 16:33:22 +01:00
|
|
|
|
2008-05-26 15:25:40 +02:00
|
|
|
AWESOME LUA API
|
|
|
|
---------------
|
2008-05-26 20:24:26 +02:00
|
|
|
Each function available in awesome Lua implementation is listed below.
|
|
|
|
Function named package.function are relative to the package and must be called
|
|
|
|
as is.
|
|
|
|
Function named object_type:function are objects methods and must be applied on
|
|
|
|
object with type "object_type".
|
|
|
|
|
2008-05-26 15:25:40 +02:00
|
|
|
include::apidocgen.txt[]
|
2007-12-24 09:49:50 +01:00
|
|
|
|
2008-05-30 13:00:52 +02:00
|
|
|
COLORS FORMAT
|
|
|
|
-------------
|
|
|
|
Colors format in *awesome* are either standard X color names
|
|
|
|
(blue, darkblue, lightred, etc) or hexadecimal formatted colors (#rrggbb).
|
|
|
|
By using hexadecimal format, you can also specifies an alpha channel:
|
|
|
|
that means that #00ff00 will draw pure green, but #00ff00aa will set the
|
|
|
|
alpha channel to `aa' and will blend the green with the color under it.
|
|
|
|
|
2008-06-11 09:56:19 +02:00
|
|
|
WIDGETS
|
|
|
|
-------
|
|
|
|
The current list of available widget is:
|
|
|
|
|
|
|
|
- iconbox
|
|
|
|
- graph
|
|
|
|
- progressbar
|
|
|
|
- taglist
|
|
|
|
- tasklist
|
|
|
|
- textbox
|
|
|
|
|
|
|
|
Each widget as its own set of properties, described below, that can bet modified with the set()
|
|
|
|
method.
|
|
|
|
|
|
|
|
ICONBOX
|
|
|
|
~~~~~~~
|
|
|
|
*image*::
|
|
|
|
The image path.
|
|
|
|
|
|
|
|
*resize*::
|
|
|
|
True if you want the image to be auto-resized.
|
|
|
|
|
|
|
|
PROGRESSBAR
|
|
|
|
~~~~~~~~~~~
|
|
|
|
A progressbar widget can contain several bars, so some properties need a data section,
|
|
|
|
that means a title for the bar. For example, if you want to feed data to the `memory' bar
|
|
|
|
you want to do mywidget:set("data", "memory 100"), where memory will be the data section.
|
2008-06-11 11:56:08 +02:00
|
|
|
Using a new data section name will automatically create a new bar.
|
2008-06-11 09:56:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
The following properties require a data section before the value:
|
|
|
|
|
|
|
|
*data*::
|
|
|
|
Feed with data.
|
|
|
|
|
|
|
|
*fg*::
|
|
|
|
Foreground color.
|
|
|
|
|
|
|
|
*fg_off*::
|
2008-06-11 11:56:08 +02:00
|
|
|
Color of unfilled area of bar.
|
2008-06-11 09:56:19 +02:00
|
|
|
|
|
|
|
*bg*::
|
2008-06-11 11:56:08 +02:00
|
|
|
Background color (between ticks; border_padding space).
|
2008-06-11 09:56:19 +02:00
|
|
|
|
|
|
|
*bordercolor*::
|
|
|
|
Border color.
|
|
|
|
|
|
|
|
*fg_center*::
|
|
|
|
Foreground center color.
|
|
|
|
|
|
|
|
*fg_end*::
|
|
|
|
Foreground end color.
|
|
|
|
|
|
|
|
*min_value*::
|
2008-06-11 11:56:08 +02:00
|
|
|
Minimum value. This or lower values, draw a 0% bar.
|
2008-06-11 09:56:19 +02:00
|
|
|
|
|
|
|
*max_value*::
|
2008-06-11 11:56:08 +02:00
|
|
|
Maximum value. This or higher values, draw a 100% bar.
|
2008-06-11 09:56:19 +02:00
|
|
|
|
|
|
|
*reverse*::
|
|
|
|
True to draw reverse.
|
|
|
|
|
|
|
|
|
|
|
|
The following properties do not require a data section before the value and applies to all bars inside
|
|
|
|
the widget:
|
|
|
|
|
|
|
|
*gap*::
|
|
|
|
Gap between borders.
|
|
|
|
|
|
|
|
*ticks_count*::
|
|
|
|
The number of ticks.
|
|
|
|
|
|
|
|
*ticks_gap*::
|
|
|
|
The gap between ticks.
|
|
|
|
|
|
|
|
*border_padding*::
|
|
|
|
The padding inside the border.
|
|
|
|
|
|
|
|
*border_width*::
|
|
|
|
The border width.
|
|
|
|
|
|
|
|
*width*::
|
|
|
|
The widget width.
|
|
|
|
|
|
|
|
*height*::
|
|
|
|
The widget height.
|
|
|
|
|
|
|
|
*vertical*::
|
|
|
|
True if the widget is vertical.
|
|
|
|
|
|
|
|
GRAPH
|
|
|
|
~~~~~
|
2008-06-11 11:56:08 +02:00
|
|
|
A graph widget can display several data-graphs inside its widget-border. Some
|
|
|
|
properties need a data section, that means a title for the incoming data. For
|
|
|
|
example, if you want to feed 'memory' data, you want to do
|
|
|
|
mywidget:set("data", "memory 100").
|
|
|
|
|
|
|
|
|
|
|
|
The following properties require a data section before the value:
|
|
|
|
|
|
|
|
*data*::
|
|
|
|
Feed with data.
|
|
|
|
|
|
|
|
*fg*::
|
|
|
|
Foreground color.
|
|
|
|
|
|
|
|
*fg_center*::
|
|
|
|
Foreground center color.
|
|
|
|
|
|
|
|
*fg_end*::
|
|
|
|
Foreground end color.
|
|
|
|
|
|
|
|
*vertical_gradient*::
|
|
|
|
If 'true', colorgradient shall be applied vertically.
|
|
|
|
|
|
|
|
*max_value*::
|
|
|
|
Maximum value. Bigger values gets truncated, unless 'scale' is true.
|
|
|
|
|
|
|
|
*scale*::
|
|
|
|
Scales the graph acccording to incoming values bigger than 'max_value'.
|
|
|
|
|
|
|
|
*draw_style*::
|
|
|
|
'bottom', 'top' or 'line'.
|
|
|
|
|
|
|
|
|
|
|
|
The following properties do not require a data section before the value:
|
|
|
|
|
|
|
|
*width*::
|
|
|
|
The widget width.
|
|
|
|
|
|
|
|
*height*::
|
|
|
|
The widget height.
|
|
|
|
|
|
|
|
*bg*::
|
|
|
|
Background color.
|
|
|
|
|
|
|
|
*bordercolor*::
|
|
|
|
Border color.
|
|
|
|
|
|
|
|
*grow*::
|
|
|
|
'left' or 'right'. E.g. 'right' means new values get added on the right of the widget.
|
2008-06-11 09:56:19 +02:00
|
|
|
|
|
|
|
TAGLIST
|
|
|
|
~~~~~~~
|
|
|
|
No documentation yet.
|
|
|
|
|
|
|
|
TASKLIST
|
|
|
|
~~~~~~~~
|
|
|
|
No documentation yet.
|
|
|
|
|
|
|
|
TEXTBOX
|
|
|
|
~~~~~~~
|
2008-06-11 11:56:08 +02:00
|
|
|
*width*::
|
|
|
|
The widget width.
|
|
|
|
|
|
|
|
*text*::
|
|
|
|
Text to display. You can use pango-markup e.g. <span weight='bold' foreground="#336699">...</span>
|
|
|
|
and/or 'awesome-markup, e.g. <text align='right'>...</text>.
|
2008-06-11 09:56:19 +02:00
|
|
|
|
2007-12-15 05:08:44 +01:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
2008-05-20 15:39:47 +02:00
|
|
|
awesome(1) awesome-client(1)
|
2007-12-15 05:08:44 +01:00
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
2008-05-20 15:39:47 +02:00
|
|
|
This man page was written by Julien Danjou <julien@danjou.info>.
|
2008-03-09 23:28:56 +01:00
|
|
|
|
2007-12-15 05:08:44 +01:00
|
|
|
WWW
|
|
|
|
---
|
|
|
|
http://awesome.naquadah.org
|