Go to file
marco candrian c73e0bd72e Additional graph widget options
There are the new styles:

bottom (fill the graph to the bottom of widget-square)
top (fill the graph to the top of the widget-square
line (just print a line representing the values)

E.g when there are multiple 'bottom'-style graphs, it will print the larger
part on top of the smaller.  When two values are the same, it will (actually)
just print it with one color (something to improve maybe).

bottom-style overdraws top-style, and line-style overdraws top and bottom style
(= gets drawn at the end)

An example configuration:

    graph gr_cpu
    {
      data { scale = false max = 100 fg = "#669966" style = bottom} # total
      data { scale = false max = 100 fg = "#cc9966" style = bottom} # user
      data { scale = false max = 100 fg = "#ffffff" style = bottom} # nice-processes
      width = 50
      height = "0.80"
      bg = "#000000"
      bordercolor = "#669966"
    }

With the 'line' style, there is a bug (draws sometimes over the rectangle).
I checked the values and didn't find any value what actually should do that.
So I have no idea why that is... needs a recheck, because it's not really nice..
Happens especially when scale=true and after a rescaling takes place.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 22:53:20 +01:00
build-utils fix header generators for out-of-source builds 2008-01-25 12:10:32 +01:00
common Additional graph widget options 2008-01-25 22:53:20 +01:00
icons/layouts rename tileup/down to top/bottom 2008-01-21 16:31:15 +01:00
layouts move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
widgets Additional graph widget options 2008-01-25 22:53:20 +01:00
.gitignore ignore layoutgen.h 2008-01-21 16:31:15 +01:00
AUTHORS add 2008 copyright notice 2008-01-02 16:59:43 +01:00
LICENSE chance license to GPLv2 2007-09-12 14:29:51 +02:00
Makefile.am Common version message for awesome and -client 2008-01-25 12:10:33 +01:00
README More detailed elaboration on build requirements 2008-01-09 17:45:36 +01:00
STYLE The preferred line length is 80 characters. 2007-12-18 11:27:26 +01:00
autogen.sh Add version generation script, version stamp file 2008-01-15 08:21:43 +01:00
awesome-client.1.txt an emtpy line flushes data into awesome (in awesome-client) 2008-01-10 07:10:35 +01:00
awesome-client.c Common version message for awesome and -client 2008-01-25 12:10:33 +01:00
awesome-client.h add 2008 copyright notice 2008-01-02 16:59:43 +01:00
awesome.1.txt document new layouts 2008-01-15 08:34:17 +01:00
awesome.c rewrite focus handling 2008-01-25 22:37:49 +01:00
awesome.doxygen.in switch to autotools as build system 2008-01-04 20:49:49 +01:00
awesome.h simplify unmanage code 2008-01-06 21:57:53 +01:00
awesomerc.1.txt Documentation for the new graph options 2008-01-25 22:53:20 +01:00
awesomerc.in rename tileup/down to top/bottom 2008-01-21 16:31:15 +01:00
client.c handle focus history on arrange() 2008-01-25 22:50:18 +01:00
client.h remove selscreen arg 2008-01-24 23:48:35 +01:00
config.c Additional graph widget options 2008-01-25 22:53:20 +01:00
config.h split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
configure.ac Compile executable with correct version number 2008-01-25 12:10:32 +01:00
event.c rewrite focus handling 2008-01-25 22:37:49 +01:00
event.h add 2008 copyright notice 2008-01-02 16:59:43 +01:00
ewmh.c fullscreen respect padding 2008-01-23 17:01:39 +01:00
ewmh.h move NetWMIcon get to ewmh.c 2008-01-03 19:02:23 +01:00
focus.c remove selscreen arg 2008-01-24 23:48:35 +01:00
focus.h split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
layout.c handle focus history on arrange() 2008-01-25 22:50:18 +01:00
layout.h rewrite focus handling 2008-01-25 22:37:49 +01:00
mouse.c raise window on move 2008-01-24 22:22:52 +01:00
mouse.h replace UICB_PROTO macro by a typedef 2008-01-01 17:25:48 +01:00
rules.c move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
rules.h split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
screen.c remove selscreen arg 2008-01-24 23:48:35 +01:00
screen.h detect clone screens (FS#42) 2008-01-22 20:41:10 +01:00
statusbar.c fix bar left position 2008-01-24 23:25:12 +01:00
statusbar.h preinit in config.c 2008-01-21 16:31:14 +01:00
structs.h rewrite focus handling 2008-01-25 22:37:49 +01:00
tag.c add tag_view_byinde() 2008-01-23 08:45:02 +01:00
tag.h add tag_view_byinde() 2008-01-23 08:45:02 +01:00
uicb.c rename nscreens to nscreen 2008-01-24 13:48:49 +01:00
uicb.h replace UICB_PROTO macro by a typedef 2008-01-01 17:25:48 +01:00
widget.c break on first button found 2008-01-23 08:47:46 +01:00
widget.h split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
window.c rewrite focus handling 2008-01-25 22:37:49 +01:00
window.h rewrite focus handling 2008-01-25 22:37:49 +01:00
xutil.c move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
xutil.h add Display as arg 2008-01-21 16:31:14 +01:00

README

awesome
=======
awesome is an extremely fast, small, and dynamic window manager for X.
It's based on dwm.

Requirements
------------
In order to build awesome itself, you need header files and libs of:
  - Xlib, Xinerama, Xrandr, Xft
  - libconfuse >= 2.6
  - cairo

In order to build the awesome man pages, you need these tools:
  - asciidoc (recent version)
  - xmlto (recent version)
  - docbook XSL stylesheets

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

Building and Installation
-------------------------
If building from git sources, run "./autogen.sh". When autoreconf has
finished, you can follow the following instructions for building a dist
tarball.

After extracting the dist tarball, run "./configure --help" and figure out
what you might want to adapt for your system. Then run ./configure with the
proper parameters, and build and install:

  ./configure [...]
  make
  make install # might need root permissions

If you're using gcc as your compiler and do not want awesome's default set
of warning flags, add AWESOME_CFLAGS="" to your "make" lines.

The source code reference can be built with "make doc".

Running awesome
-----------
Add the following line to your .xinitrc to start awesome using startx
or to .xsession to start awesome using gdm/kdm/xdm...:

    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 ~/.awesomerc file.
An example is provided in the sources.