Julien Danjou
7b1ce042de
Add cfg_getposition() and cie to ease libconfuse compatibility
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
19656fc36d
Add a CFG_ALIGNMENT type and use it
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
fe8bd0bb5b
Implement a CFG_POSITION type and use it
2008-03-23 15:52:21 +01:00
Julien Danjou
72cad278cf
Cosmetic, remove uppercase
2008-03-23 15:52:21 +01:00
Julien Danjou
b748d114bf
Use common validation infra for mwfact upper and lower limits values
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou
9204066788
Begin to use validate function in config handling
2008-03-23 15:52:21 +01:00
Julien Danjou
9bd32fc3b8
Split titlebar stuff into titlebar.[ch], and uicb_client_toggletitlebar
2008-03-23 15:52:19 +01:00
Julien Danjou
bc6656320d
Add support for text_align option in titlebars
2008-03-23 15:52:19 +01:00
Julien Danjou
bd7b718166
Simplify init; there's always a section
2008-03-23 15:52:19 +01:00
Julien Danjou
cc56ccd2e9
Use section for titlebar parameters
2008-03-23 15:52:19 +01:00
Julien Danjou
8b217359e9
Rename Auto to Maybe in Fuzzy; add Auto as Position; add support for titlebar as rule
2008-03-23 15:52:19 +01:00
Julien Danjou
2c43fd6a69
Split titlebar properties into a struct with a SW and a Position
2008-03-23 15:52:18 +01:00
Julien Danjou
ea88e324a0
First titlebar support
2008-03-23 15:52:18 +01:00
Julien Danjou
fa47024714
Change colors infrastructure to style: rename colors_ctx_t to style_t and add font in it
2008-03-23 15:52:18 +01:00
Julien Danjou
b4ec0e2d13
Die if no colors sections.
2008-03-23 15:52:18 +01:00
Julien Danjou
9dfd488dda
Change colors handling
2008-03-23 15:52:18 +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
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
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
867b2f0775
first version of awesome-menu
2008-03-23 15:52:15 +01:00
Julien Danjou
d1e7633a22
Use tag code in case of no tag, not ours.
2008-03-14 07:27:23 +01:00
Julien Danjou
f797aec81e
Fix segmentation fault on no layout available
2008-03-14 07:23:39 +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
dfef818e8f
do not die on unknown placement: take the first one
2008-02-13 18:26:08 +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
Nathan LaFreniere
1d57d7b327
switch KeySym to KeyCode
2008-02-08 14:35:32 +01:00
Julien Danjou
b2e004b453
add scratch window support
2008-02-06 09:06:43 +01:00
Julien Danjou
befcf19ea2
introduce fuzzy logic: fix problem with not_master
2008-02-05 17:31:47 +01:00
Julien Danjou
06904cfcaa
Revert "remove opacity_unfocused"
2008-02-04 14:54:50 +01:00
Julien Danjou
4b412d86ff
split out config stuff
2008-01-31 16:34:00 +01:00
Julien Danjou
c78f77543f
rename opts to awesome_opts
2008-01-31 11:45:10 +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
Julien Danjou
ab8d95f13d
rework include
2008-01-29 11:27:14 +01:00
Julien Danjou
42d4686282
change padding_left to padding for progressbar
2008-01-29 08:44:16 +01:00
Julien Danjou
b6642e45c8
rename initxcolor to draw_color_new() and move it to draw.c
2008-01-27 18:56:37 +01:00
Julien Danjou
f9c9bc53c6
change default font
2008-01-26 11:52:36 +01:00
Julien Danjou
56e84597eb
set floppy_raise_focus to false by default
2008-01-26 09:27:10 +01:00
MATSUU Takuto
363cefefee
transparency rule support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 23:48:24 +01:00
Julien Danjou
8fc3d6b584
remove focus_move_pointer option
2008-01-25 23:28:55 +01:00
Julien Danjou
e32070cffb
add sloppy_focus_raise option
2008-01-25 23:27:32 +01:00
Julien Danjou
4e677d242c
remove allow_lower_float option
2008-01-25 23:21:09 +01:00
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
Julien Danjou
5ade4d63e0
remove opacity_unfocused
...
this is crap
2008-01-24 23:45:04 +01:00
Julien Danjou
240ee786d1
rename nscreens to nscreen
2008-01-24 13:48:49 +01:00
Julien Danjou
e84d614377
replace some code using switch and warn()
2008-01-24 10:47:01 +01:00
Julien Danjou
c1569eedf4
store simple window geometry
2008-01-23 16:05:52 +01:00