From 6b19c3e246c2d484c6ada6bd49642bd24e7f7281 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 8 Apr 2008 08:28:37 +0200 Subject: [PATCH] [doc] Rewrite type details Signed-off-by: Julien Danjou --- build-utils/extractrcskeleton.py | 44 ++++++++++++++------------------ 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/build-utils/extractrcskeleton.py b/build-utils/extractrcskeleton.py index 6af264d9c..fee7caf7e 100755 --- a/build-utils/extractrcskeleton.py +++ b/build-utils/extractrcskeleton.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # # extractuicbdoc.py - extract uicb documentation from awesome source code +# Copyright (C) 2008 Julien Danjou # Copyright (C) 2008 Marco Candrian # # This indeed crappy. Any better version, even with awk, would be welcome. @@ -8,32 +9,25 @@ print """Note: when there is no whitespace, quotes are optional. - -> "true" or "false" - -> #ff9933 (hexadecimal color notation: #red green blue) - -> 0.3, 0,8 (often values between 0 and 1 are useful) - -> Pango font: sans 10, sans italic 10, fixed 12, ... - -> foobar (choose a name/string) - -> "/home/awesome/pics/icon.png" (path to image) - -> 1, 10, -3 (positive numbers are required mostly) - -> a, 1, F10 (see /usr/include/X11/keysymdef.h w/o XK_ or 'xev') - or a keycode beginning with # - -> "Mod1", "Mod4", "Control" (modifiers) - -> regular expression - -> "foo bar" - -> prog, 3... (argument to a uicb function, where required) - -> spawn, exec, client_tag... (see UICB FUNCTIONS above) - -> list of position: off, top, right, left, bottom, auto -