Go to file
M. Dietrich 907a5379a3 fix loop over config files if none was found
if no file was found the string is just "\0" and neads a head
controled while

if no config file was found exit awesome with an error message
(fail early!)

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 10:21:16 +02:00
build-utils Use tr [:lower:] [:upper:] instead of the a-z one 2009-05-10 10:46:25 +02:00
common Fix build with assertions enabled. 2009-05-04 08:56:14 +02:00
icons themes: move theme icons to themes/ 2008-11-10 12:02:08 +01:00
lib Revert "client, mouse: improve struts a bit" 2009-05-25 15:26:13 +02:00
manpages manpages: fix awesome-client to talk about D-Bus 2009-04-27 15:09:42 +02:00
themes themes/sky: Titlebar icons: use current default theme paths 2009-05-20 07:43:15 +02:00
utils awesome-client: Use /bin/sh instead of /bin/bash 2009-05-10 10:54:27 +02:00
widgets Fix a couple of harmless compiler warnings 2009-05-25 12:07:06 +02:00
.gitignore gitignore: remove awesome-client 2009-04-11 16:10:42 +02:00
AUTHORS update AUTHORS 2009-04-08 19:01:20 +02:00
BUGS BUG's page 2008-04-18 19:33:58 +02:00
CMakeLists.txt themes: Old ImageMagick compatibility 2009-05-18 20:53:23 +02:00
LICENSE chance license to GPLv2 2007-09-12 14:29:51 +02:00
Makefile build: allow to specify cmake args 2009-05-08 19:54:38 +02:00
PATCHES update STYLE, add PATCHES 2008-08-30 13:09:15 +02:00
README themes: Generate unfocused/inactive icons automatically 2009-05-18 08:30:21 +02:00
STYLE STYLE: add missing semi colon 2008-11-12 14:27:42 +01:00
awesome-version-internal.h.in cmake: consolidate version strings 2008-06-22 22:13:06 +02:00
awesome.c fix loop over config files if none was found 2009-06-04 10:21:16 +02:00
awesome.desktop desktop: change description 2008-10-02 17:19:28 +02:00
awesome.doxygen.in layout: move layout code to Lua 2008-12-14 10:28:21 +01:00
awesome.h factorize quit/exec elements, and reparent systray 2008-09-02 17:12:10 +02:00
awesomeConfig.cmake change codename 2009-05-26 16:51:06 +02:00
awesomerc.lua.in awesomerc: allow 'false' in floatapps 2009-05-18 08:33:54 +02:00
button.c button: change copy method 2009-05-08 14:00:43 +02:00
button.h Stop using variable size type, use stdtypes 2009-04-26 13:01:37 +02:00
client.c Revert "client: handle struts (a lot) better" 2009-05-25 15:17:57 +02:00
client.h Revert "client: handle struts (a lot) better" 2009-05-25 15:17:57 +02:00
color.c color: simplify includes 2009-04-18 14:02:21 +02:00
color.h color: simplify includes 2009-04-18 14:02:21 +02:00
config.h.in build: detect endianness at compile time 2009-04-27 12:06:24 +02:00
dbus.c dbus: use dbus_bool_t when reading messages 2009-04-28 22:40:02 +02:00
dbus.h dbus: allow usage of the system bus 2009-04-18 16:07:31 +02:00
draw.c cosmetic fix for line drawing in graphs 2009-04-29 10:04:57 +02:00
draw.h Make the draw_*() functions take a color_t* 2009-04-18 14:02:21 +02:00
event.c widget: use orientation rather than position 2009-05-10 16:17:39 +02:00
event.h cleanup #includes 2009-04-17 16:52:25 +02:00
ewmh.c Check that the property is as long as it should be 2009-05-19 08:40:58 +02:00
ewmh.h image: use new object system 2009-04-12 15:11:32 +02:00
hooks.c spawn: add support for startup-notification 2009-04-14 14:23:38 +02:00
image.c luaa: fix memory leak in __gc 2009-05-08 09:53:20 +02:00
image.h image: use new object system 2009-04-12 15:11:32 +02:00
key.c luaa: fix memory leak in __gc 2009-05-08 09:53:20 +02:00
key.h key: looking up for a key use a keysym 2009-04-29 10:53:50 +02:00
keygrabber.c key: looking up for a key use a keysym 2009-04-29 10:53:50 +02:00
keygrabber.h keygrabber: add stop() method 2008-11-10 17:31:18 +01:00
layout.c Revert "client: handle struts (a lot) better" 2009-05-25 15:17:57 +02:00
layout.h layout: move layout code to Lua 2008-12-14 10:28:21 +01:00
luaa.c fix loop over config files if none was found 2009-06-04 10:21:16 +02:00
luaa.h Replace lua_newtable() with lua_createtable() 2009-04-25 15:04:27 +02:00
mouse.c widget: use orientation rather than position 2009-05-10 16:17:39 +02:00
mouse.h mouse: split button out 2009-04-26 10:46:09 +02:00
mousegrabber.c Fix a harmless compiler warning 2009-05-25 12:07:05 +02:00
mousegrabber.h mousegrabber: import 2008-12-12 16:51:41 +01:00
property.c property: fix bad deletion of reply (FS#502) 2009-04-21 08:46:48 +02:00
property.h property: make use of xcb_get_wm_class_from_reply() when possible 2009-04-18 14:20:06 +02:00
root.c root: fix arguments in fake_input 2009-05-11 08:19:15 +02:00
screen.c Revert "client, mouse: improve struts a bit" 2009-05-25 15:26:13 +02:00
screen.h Focus stealing prevention - should fix FS#497 2009-04-23 23:40:46 +02:00
selection.c cleanup #includes 2009-04-17 16:52:25 +02:00
selection.h selection: do not use a useless module 2009-01-06 17:02:08 +01:00
spawn.c spawn: fix sequence ref count again 2009-05-12 08:11:35 +02:00
spawn.h cleanup #includes 2009-04-17 16:52:25 +02:00
stack.c stack: remove client_node type and inverse order 2009-04-17 23:26:26 +02:00
stack.h stack: remove client_node type and inverse order 2009-04-17 23:26:26 +02:00
structs.h key: restore proper support of keysym resolution 2009-04-28 18:17:16 +02:00
swindow.c swindow: fix draw_context_update for north and south orientation 2009-05-10 16:09:19 +02:00
swindow.h cleanup #includes 2009-04-17 16:52:25 +02:00
systray.c cleanup #includes 2009-04-17 16:52:25 +02:00
systray.h systray: add some cleanup code 2008-09-03 18:03:50 +02:00
tag.c luaa: fix memory leak in __gc 2009-05-08 09:53:20 +02:00
tag.h cleanup #includes 2009-04-17 16:52:25 +02:00
titlebar.c screen: replace screens pointer by a screen_t array 2009-04-17 16:14:09 +02:00
titlebar.h screen: replace screens pointer by a screen_t array 2009-04-17 16:14:09 +02:00
wibox.c Revert "client: handle struts (a lot) better" 2009-05-25 15:17:57 +02:00
wibox.h wibox: move struct definition into wibox.h 2009-04-17 16:25:14 +02:00
widget.c widget: use orientation rather than position 2009-05-10 16:17:39 +02:00
widget.h widget: use orientation rather than position 2009-05-10 16:17:39 +02:00
window.c Stop using variable size type, use stdtypes 2009-04-26 13:01:37 +02:00
window.h Stop using variable size type, use stdtypes 2009-04-26 13:01:37 +02:00

README

awesome
=======
awesome is a highly configurable, next generation framework window manager for X.

Requirements
------------
In order to build awesome itself, you need header files and libs of:
  - cmake (>= 2.6)
  - Xlib
  - xproto
  - xcb (>= 1.1)
  - xcb-util (>= 0.3)
  - Lua (>= 5.1)
  - cairo built with xcb support
  - pango and pangocairo (>= 1.19.3)
  - libev
  - Imlib2
  - dbus (optional, use -DWITH_DBUS=OFF with cmake to disable)
  - gperf

As well as the following tools to build theme icons:
  - ImageMagick

In order to build the awesome man pages and documentation,
you need these tools:
  - asciidoc
  - xmlto
  - docbook XSL stylesheets
  - luadoc

In order to build the source code reference, you need these tools:
  - doxygen
  - graphviz

Building and installation
-------------------------
After extracting the dist tarball, run:

  make

This will create a build directory, run cmake in it and build awesome.

After the building done, you can type this to install:

  make install # might need root permissions

Running awesome
---------------
You can directly select awesome from your display manager. If not, you can
add the following line to your .xinitrc to start awesome using startx
or to .xsession to start awesome using your display manager:

    exec awesome

In order to connect awesome to a specific display, make sure that
the DISPLAY environment variable is set correctly, e.g.:

    DISPLAY=foo.bar:1 exec awesome

(This will start awesome on display :1 of the host foo.bar.)

Configuration
-------------
The configuration of awesome is done by creating a $XDG_CONFIG_HOME/awesome/rc.lua file.
An example is provided in the sources.

Troubleshooting
---------------
In most systems any message printed by awesome (including warnings and errors)
are written to $HOME/.xsession-errors.

If awesome does not start or the configuration file is not producing the desired
results the user should examine this file to gain insight into the problem.