Commit Graph

106 Commits

Author SHA1 Message Date
Julien Danjou 74ab56b1b2 Stop adding useless space at the end of each default awesomerc line
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-21 14:50:35 +01:00
Julien Danjou 23a31eda23 Add a manpage for awesome-message 2008-03-13 11:33:58 +01:00
Hans Ulrich Niedermann 2d454a438a Determine screen number from $DISPLAY for restarts
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:50:11 +01:00
Hans Ulrich Niedermann f1e4ad09a1 Add make targets replacing the running awesome
Presuming we are running awesome on this screen, and this is
screen 0,

  * we replace the running awesome instance by a freshly compiled
    one with the "restart-uninstalled" target,
  * we replace the running awesome instance by the last installed
    one with the "restart-installed" target.

Note this can render your running X11 screen unusable.

A little bit of test magic starting Xnest should make more
confined tests possible with less serious failure modes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:49:47 +01:00
Julien Danjou 5446071aef do not use cfg_print() to generate default configuration file: fwrite() the default one 2008-02-29 15:36:13 +01:00
Julien Danjou 19ffbf6e0f move awesomerc manpages to section 5 (File format) 2008-02-28 12:36:17 +01:00
Julien Danjou 3ccf163357 fix awesome-version-internal define 2008-02-27 09:09:38 +01:00
Julien Danjou 11b0982a58 rename awclient.[ch] to socket.[ch] 2008-02-27 09:07:52 +01:00
Julien Danjou 6fd3801ef0 rename awesome-version.[ch] to version.[ch] 2008-02-27 09:04:17 +01:00
Julien Danjou 1e3f3d9300 floating placement can be chosen by config 2008-02-13 18:04:20 +01:00
Hans Ulrich Niedermann 593f92c24d Check whether 'xmlto man' actually works
If xmlto is present, create a very simple example man page by
running 'xmlto man'. Only generate man pages at "make all" time
if this works.

The check is a little lenthy, so we might want to put it into
a separate .m4 file some time.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:35 +01:00
Hans Ulrich Niedermann d68ba7fa12 Generate man pages IFF doc tools are present
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:23 +01:00
Hans Ulrich Niedermann 2fafec9dc3 Ship forgotten UPGRADE file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:05:58 +01:00
Julien Danjou 170ed9882a rename netwmicon to focusicon 2008-02-06 20:13:41 +01:00
Julien Danjou ffbcea0084 remove focustitle widget 2008-02-06 20:05:14 +01:00
Julien Danjou 91d6a11fd3 add UPGRADE to dist 2008-02-02 18:13:55 +01:00
Julien Danjou 395b39de78 awesome-run use awesome config file 2008-01-31 17:32:05 +01:00
Julien Danjou 4b412d86ff split out config stuff 2008-01-31 16:34:00 +01:00
Julien Danjou f2e64adb59 remove awesome-check, move that to an -k option to awesome 2008-01-31 10:21:03 +01:00
Julien Danjou 10f9106e4e add new awesome-check program to check configuration file syntax 2008-01-30 14:07:14 +01:00
Hans Ulrich Niedermann e1d3b007a7 Terser version update message
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-29 13:26:40 +01:00
Julien Danjou ab8d95f13d rework include 2008-01-29 11:27:14 +01:00
Julien Danjou 46f42de45f rename to awesome-message to be respect awesome naming scheme 2008-01-27 15:53:28 +01:00
Julien Danjou af4c6d6d58 first proto of awmessage 2008-01-26 21:41:34 +01:00
Julien Danjou c5f57d24d3 split out simple window handling 2008-01-26 17:58:01 +01:00
Hans Ulrich Niedermann b457c4b4c9 Common version message for awesome and -client
At every build ("make", "make all"), if necessary, this
version message will be updated.

Note that "make awesome{,-client}" will NOT update the
version message.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:33 +01:00
Hans Ulrich Niedermann 3d9c2e72fb Compile executable with correct version number
Updates awesome-version.h every time the version number has
actually changed. The normal C header deps will then trigger
the appropriate rebuilds.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann e719d6d0b6 fix header generators for out-of-source builds
The header generator scripts now work when srcdir!=builddir.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou 2ac27fdac4 move draw files to common/ 2008-01-24 18:48:11 +01:00
Hans Ulrich Niedermann bb9b688ead Generate misc headers in the builddir, not srcdir
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-22 10:35:10 +01:00
Julien Danjou 197fabfa95 move awesome-client-common to common/ 2008-01-21 18:17:08 +01:00
Julien Danjou 668702b777 move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
Julien Danjou 0940f2f81a rename tileup/down to top/bottom 2008-01-21 16:31:15 +01:00
Julien Danjou bbe0254393 move gen scripts in build-utils 2008-01-21 16:31:14 +01:00
Julien Danjou 8416705a20 autogenerate layout list 2008-01-21 16:31:14 +01:00
Julien Danjou 5def70a8f0 autogenerate widget list 2008-01-21 16:31:14 +01:00
Julien Danjou 135c418275 auto generate uicb list 2008-01-21 16:31:14 +01:00
Fabienne Ducroquet 1dbe305177 mirror layout
I missed this feature for some time too, then I've just added two
layouts with master and stack area separated horizontaly: tiledown and
tileup (with the stack area down and up respectively) by adding a third
argument telling whether one wants to separate horizontally or verticaly
to the _tile function in layouts/tile.c. Patch against latest git
version, you will need to have icons
icons/layouts/{tiledown.png,tiledownw.png,tileup.png,tileupw.png} to
compile it without modifications.

Fabienne

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 16:31:14 +01:00
Julien Danjou 0b5e3e7cd1 split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
Julien Danjou 771199a2e5 add list header 2008-01-21 16:31:13 +01:00
Hans Ulrich Niedermann a3e8081c62 Add check for --help and --version support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann 70ce4b8856 Mute version check (unless it fails)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann 7ffd48ccd6 Use consistent wording in version check
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann eadebdd35d Add version generation script, version stamp file
Use a single script to generate the version number from git. This script

  * strips the v from the start of the "git describe" output
  * changes all "-" occurences to "."
  * does NOT create a properly sortable version number from "2.1-rc2"
    type "git describe" output
  * does NOT generate a "proper" "1.2.3" type version number under any
    circumstances
  * will generate "2.1" in case the "git describe" output is "2.1"

These policy might need closer adaption to awesome's tagging habit
some time.

In dist tarballs, ship a "version-stamp" file with the package version
in it. If the "version-stamp" file is present (i.e. if it is a source
tree from a dist tarball), no git checks will be performed.

Concept from autoconf, but code written from scratch to match
awesome's requirements.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-15 08:21:43 +01:00
Julien Danjou c0daa1d91e allow version without v (for real release) 2008-01-12 13:50:44 +01:00
Julien Danjou 81f1b96cb2 do not install LICENSE file 2008-01-10 15:13:49 +01:00
Hans Ulrich Niedermann 5aa2d4fd1a On tarball creation, check package/git version
Check that the package version matches the git version
(the output of "git describe") before creating dist tarballs.
2008-01-09 17:48:05 +01:00
Julien Danjou 838cfad304 remove ggdb3 flag 2008-01-09 09:38:00 +01:00
Hans Ulrich Niedermann 607df96600 Substitute icon path in awesomerc (1/2)
Use the path where the icons will actually be installed instead
of some static default value.
2008-01-09 09:08:46 +01:00
marco candrian 37da7d0d01 graph widget added
example config:

graph gr_cpu {
  width = 80
  height = "0.8"
  fg = "#336633"
  bg = "#000000"
  bordercolor = "#669966"
  padding_left = 0
  mouse = {...}
  x = ...
  y = ...
}

Looks like here: http://www.calmar.ws/tmp/112-Sun-screen.png

I renamed lpadding to padding_left, and bcolor to bordercolor
also on the progressbar widget.

The awesomerc page would still be to write, when this patch will get accepted.

Hints are always welcomed.
2008-01-06 20:51:40 +01:00
Hans Ulrich Niedermann 9f1f37af20 Ship icons in dist tarball 2008-01-05 20:21:10 +01:00
Julien Danjou fd456907c2 install layouts icons 2008-01-05 17:32:51 +01:00
Hans Ulrich Niedermann 2476faf85d Include sub-Makefiles directly, then remove them 2008-01-04 22:14:53 +01:00
Hans Ulrich Niedermann 7cad659806 Document AWESOME_CFLAGS, and use only with gcc
awesome's default compiler flags work only with gcc, so we only use
them if gcc is detected.

Additionally, you can now avoid using these default flags by adding
AWESOME_CFLAGS="" to your make command lines.
2008-01-04 22:06:52 +01:00
Julien Danjou e77729ed50 add AWESOME_CFLAGS with various warning 2008-01-04 21:07:39 +01:00
Hans Ulrich Niedermann ec09073087 switch to autotools as build system 2008-01-04 20:49:49 +01:00