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.
|
|
|
|
Using a new data section name will automagically create a new bar.
|
|
|
|
|
|
|
|
|
|
|
|
The following properties require a data section before the value:
|
|
|
|
|
|
|
|
*data*::
|
|
|
|
Feed with data.
|
|
|
|
|
|
|
|
*fg*::
|
|
|
|
Foreground color.
|
|
|
|
|
|
|
|
*fg_off*::
|
|
|
|
Unknown.
|
|
|
|
|
|
|
|
*bg*::
|
|
|
|
Background color.
|
|
|
|
|
|
|
|
*bordercolor*::
|
|
|
|
Border color.
|
|
|
|
|
|
|
|
*fg_center*::
|
|
|
|
Foreground center color.
|
|
|
|
|
|
|
|
*fg_end*::
|
|
|
|
Foreground end color.
|
|
|
|
|
|
|
|
*min_value*::
|
|
|
|
Minimum value.
|
|
|
|
|
|
|
|
*max_value*::
|
|
|
|
Maximum value.
|
|
|
|
|
|
|
|
*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
|
|
|
|
~~~~~
|
|
|
|
No documentation yet.
|
|
|
|
|
|
|
|
TAGLIST
|
|
|
|
~~~~~~~
|
|
|
|
No documentation yet.
|
|
|
|
|
|
|
|
TASKLIST
|
|
|
|
~~~~~~~~
|
|
|
|
No documentation yet.
|
|
|
|
|
|
|
|
TEXTBOX
|
|
|
|
~~~~~~~
|
|
|
|
No documentation yet.
|
|
|
|
|
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
|