Go to file
Gregor Best 8f0c6c5979 awful.wibox(): correctly handle position changes
This patch fixes a bug and changes the position handling for wiboxes:

The bug was that awful.wibox.set_position() didn't update the cached
wibox position, i.e. the wibox was moved, but the position value in the
wiboxes table stayed the same

The change in position handling was that unknown positions (i.e.
"fnord") default to "floating"

Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-06 20:13:42 +02:00
build-utils Use tr [:lower:] [:upper:] instead of the a-z one 2009-05-10 10:46:25 +02:00
common awesome: dump backtrace on SEGV/ABRT 2009-06-05 15:00:37 +02:00
icons themes: move theme icons to themes/ 2008-11-10 12:02:08 +01:00
lib awful.wibox(): correctly handle position changes 2009-06-06 20:13:42 +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 wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +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 awesome: dump backtrace on SEGV/ABRT 2009-06-05 15:00:37 +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 awesome: dump backtrace on SEGV/ABRT 2009-06-05 15:00:37 +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-06-04 11:46:25 +02:00
awesomerc.lua.in wibox: move position handling to Lua 2009-06-04 17:51:30 +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 client: set WM_STATE on minimize 2009-06-05 14:59:51 +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 image: only compute when needed 2009-06-04 17:23:17 +02:00
draw.h draw: remove area_array_t type 2009-06-04 17:20:01 +02:00
event.c wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +02:00
event.h cleanup #includes 2009-04-17 16:52:25 +02:00
ewmh.c wibox: move position handling to Lua 2009-06-04 17:51:30 +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 image: only compute when needed 2009-06-04 17:23:17 +02:00
image.h image: only compute when needed 2009-06-04 17:23:17 +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 wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +02:00
luaa.h luaa: rename and change hooks_property macro() 2009-06-04 17:51:04 +02:00
mouse.c wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +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 swindow: cache the opacity 2009-06-05 14:32:45 +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: add wiboxes() method to get wiboxes 2009-06-04 17:51:41 +02:00
screen.c wibox: move position handling to Lua 2009-06-04 17:51:30 +02:00
screen.h wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +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 wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +02:00
swindow.c swindow: cache the opacity 2009-06-05 14:32:45 +02:00
swindow.h Only set a simplewindow's opacity if there is a window 2009-06-05 14:32:56 +02:00
systray.c wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +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 Add a border_color parameter to simplewindow_init() 2009-06-05 14:31:15 +02:00
titlebar.h screen: replace screens pointer by a screen_t array 2009-04-17 16:14:09 +02:00
wibox.c Also track opacity for unattached wibox 2009-06-05 14:33:02 +02:00
wibox.h wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +02:00
widget.c wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +02:00
widget.h wibox: all wiboxes go into one and only one array 2009-06-04 17:51:35 +02:00
window.c Add window_opacity_get_from_reply() 2009-06-05 14:32:07 +02:00
window.h Add window_opacity_get_from_reply() 2009-06-05 14:32:07 +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.