awesome/awesomerc.5.txt

76 lines
2.0 KiB
Plaintext
Raw Normal View History

awesomerc(5)
2007-12-15 05:08:44 +01:00
===========
NAME
----
awesomerc - Configuration file for the awesome window manager
2007-12-15 05:08:44 +01:00
SYNOPSIS
--------
*awesome* looks for this configuration file in this order:
* $XDG_CONFIG_HOME/awesome/rc.lua
* $HOME/.config/awesome/rc.lua
* XDG_CONFIG_DIRS/awesome/rc.lua
2008-01-08 16:33:22 +01:00
DESCRIPTION
-----------
The *rc.lua* 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.
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
AWESOME LUA API
---------------
Documentation for the Lua API can be found in the luadoc directory.
COLORS FORMAT
-------------
Colors format in *awesome* are either standard X color names
(blue, darkblue, lightred, etc) or hexadecimal formatted colors (#rrggbb
or #rrggbbaa).
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.
TEXT FORMAT
-----------
You can use and mix Pango markup and awesome markup in text string.
This allows to format the text rendered in widgets.
Pango markup documentation can be found in the Pango documentation at
http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html.
List of *awesome* markup elements and their attributes:
* bg
- color: background color
- image: path to a background image
- align: background image alignment
- resize: resize background image to text size
* margin
- left: left margin in pixel
- right: right margin in pixel
- top: top margin in pixel
* text
- shadow: shadow color
- shadow_offset: shadow color offset in pixel
A Pango markup example: <span weight="bold" foreground="#336699">...</span>.
An *awesome* markup example: <text align="right"/>.
2007-12-15 05:08:44 +01:00
SEE ALSO
--------
awesome(1) awesome-client(1)
2007-12-15 05:08:44 +01:00
AUTHORS
-------
Written by Julien Danjou <julien@danjou.info>.
2007-12-15 05:08:44 +01:00
WWW
---
http://awesome.naquadah.org