Julien Danjou
6b4c9fed83
Remove useless ; after DO_SLIST macro
2008-03-23 15:52:17 +01:00
Julien Danjou
0a980095b3
Rework colors stuff, add a common colors_ctx_t containing colors and shadow options
2008-03-23 15:52:17 +01:00
Julien Danjou
e8e02d5a5d
Initialize a.prev to NULL
2008-03-23 15:52:17 +01:00
Julien Danjou
355b7d67b3
Change screen_get_bycoord() proto to take ScreensInfo as arg, and speed up things
2008-03-23 15:52:17 +01:00
Julien Danjou
0bde5c9e29
Move some screen functions from screen.c to new common/xscreen.c
2008-03-23 15:52:17 +01:00
Julien Danjou
f3652aaca6
Add a pointer to SLIST struct to store previous element
...
This will make back cycling faster
2008-03-23 15:52:17 +01:00
Julien Danjou
8c901c8b1e
Be more verbose about errors and warnings location
...
Print function name and line,
and also print a W: or E: in front of the warn/errors
2008-03-23 15:52:17 +01:00
Julien Danjou
1fb61f54df
[awesome-menu] Remove command line option and add support for menu {} in conffile
2008-03-23 15:52:16 +01:00
marco candrian
04ff373a63
New progressbar option: vertical=<boolean>
...
if 'true', draws the whole progressbar-block vertically
instead of horizontally.
2008-03-23 15:52:16 +01:00
marco candrian
6216d25bc6
new progressbar option for reversing the drawing
...
inside a data section, with reverse=<boolean> it's possible to reverse the
drawing i.e instead of left to right, from right to left. etc.
2008-03-23 15:52:16 +01:00
marco candrian
ce7f77c8c5
data{} sections needs a unique title now
...
so like: data title {}
Used for widget_tell to individually address/change them
2008-03-23 15:52:16 +01:00
Julien Danjou
8a685bf177
Add mwfact_lower_limit and mwfact_upper_limit to configure limits of mwfact value
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:16 +01:00
Julien Danjou
4451e9099e
Add support for text shadow, add new text_shadow_offset option.
2008-03-23 15:52:15 +01:00
Julien Danjou
e81bd8de02
Add a #prefix_list_next() function to lists functions
...
That may seem useless, but it's not.
2008-03-23 15:52:15 +01:00
Julien Danjou
867b2f0775
first version of awesome-menu
2008-03-23 15:52:15 +01:00
Julien Danjou
2b0de43885
Remove useless tab_border option.
2008-03-13 13:25:15 +01:00
Julien Danjou
a9d7a08c2e
Add support for ~ in include() from awesome
2008-03-09 20:01:32 +01:00
Julien Danjou
2fd1f0db66
Write our own cfg_awesome_include() function to do check before calling confuse's one
2008-03-09 18:31:16 +01:00
Julien Danjou
8b8fc8148f
add comments for simplewindow functions
2008-03-01 11:25:04 +01:00
Julien Danjou
950c9b0820
support for include() in configuration file
2008-02-29 09:54:03 +01:00
Julien Danjou
46b80552c6
add support for flex -> AlignFlex
2008-02-28 16:19:26 +01:00
Julien Danjou
46742a56e4
documentation update and some cosmetic
2008-02-27 09:32:45 +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
c1f06b3d3f
documentation update
2008-02-27 09:00:42 +01:00
Julien Danjou
328e5d0d4e
rename screen to phys_screen to avoid confusion
2008-02-25 13:33:29 +01:00
marco candrian
73696a26a9
cairo_destroy() added
...
(at least partly related to: FS#68 - awesome eats cpu time)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-25 10:01:42 +01:00
Julien Danjou
1e3f3d9300
floating placement can be chosen by config
2008-02-13 18:04:20 +01:00
marco candrian
4ff0dae17e
trailing whitespaces removed
...
like:
find . -iname "*.txt" -o -iname "*.c" -o -iname "*.h" | xargs sed -i 's/\s\+$//'
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-13 09:05:10 +01:00
Julien Danjou
ae75f55acd
change draw_color_new() proto to fill the struct and return status
2008-02-13 08:58:21 +01:00
Julien Danjou
9390abcfb4
fix memory leak in smart_placement (with area_list_remove) and fix the algo
2008-02-11 17:15:28 +01:00
Julien Danjou
e244210943
return the right buffer, iconv modify one
2008-02-11 10:52:05 +01:00
Julien Danjou
1a643a20bd
simplify buf handling
2008-02-11 10:40:38 +01:00
Julien Danjou
321a481dce
return good pointer and free good pointer
2008-02-11 09:21:09 +01:00
Julien Danjou
fbce780003
check iso2utf8 return
2008-02-11 08:49:10 +01:00
Julien Danjou
44a0a1ee4e
make draw_text multibyte UTF-8 aware
2008-02-09 16:23:16 +01:00
Julien Danjou
0bfa880b0f
add align option to widget to specify their alignment
2008-02-08 10:59:55 +01:00
Julien Danjou
91f80b251c
rename align to text_align
2008-02-08 09:58:36 +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
528ff7316c
tasklist can now show focused only client
2008-02-06 20:03:18 +01:00
marco candrian
8567009d22
rename of fg_middle/fg_half to fg_center and fg_full to fg_end
...
A hint from maxauthority. The names would be unified now in the progressbar
and the graph widget. And (hopefully) it's easier to guess what they mean now.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-06 07:32:22 +01:00
Julien Danjou
befcf19ea2
introduce fuzzy logic: fix problem with not_master
2008-02-05 17:31:47 +01:00
marco candrian
ff753f1f14
Adds fg_middle + fg_end color option for the graph widget
...
Draws a color-gradient beginning from fg and
if either fg_middle or fg_end is set, through them.
example config:
graph gr_cpu
{
data { scale = false max = 100 style = bottom
fg = "#cc6666" fg_half = "#cc6666" fg_full = "#998888 "}
...
...
}
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 15:37:21 +01:00
marco candrian
09e60cb95e
adds fg_half as an option to the progressbar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 07:16:12 +01:00
Julien Danjou
06904cfcaa
Revert "remove opacity_unfocused"
2008-02-04 14:54:50 +01:00
Julien Danjou
1b4a1e7c9e
convert text to draw to UTF-8
2008-02-04 13:28:20 +01:00
marco candrian
b024b0c0cf
draw_rectangle_gradient() for the progressbar widget; + fg_full option
...
Adds an optional additional foreground color option to a bar: fg_full = <color>
A value of 0 represents the fg-color, and a value of 100 (a full graph) the
fg_full-color.
Example:
progressbar xy
{
bar { fg = "#111155 " fg_full = "#3333cc" bg = "#000000 " bordercolor = "#4444cc"}
....
}
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-04 11:16:30 +01:00
Matthieu Pasini
49cda1814e
modkey should not be required when not needed in key definition
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-02 09:33:14 +01:00
marco candrian
8d3c24e03e
fix for cairo_arc
...
Without a new (sub)path, it joined the new circle to the old reference point,
what happend to be at the end of the title-text - therefore the line to it with
cairo_stroke()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-01 09:21:24 +01:00