Final touches, including wmfsrc default options

This commit is contained in:
Brian Mock 2011-02-22 19:37:06 -08:00
parent 971fb3240a
commit 9235775dd2
3 changed files with 12 additions and 6 deletions

View File

@ -304,8 +304,8 @@ conf_client_section(void)
conf.client.default_open_screen = fetch_opt_first(sec, "-1", "default_open_screen").num;
conf.client.new_client_get_mouse = fetch_opt_first(sec, "false", "new_client_get_mouse").bool;
conf.colors.client_light_shade = fetch_opt_first(bar, "0.25", "light_shade").fnum;
conf.colors.client_dark_shade = fetch_opt_first(bar, "-0.25", "dark_shade").fnum;
conf.colors.client_light_shade = fetch_opt_first(sec, "0.25", "light_shade").fnum;
conf.colors.client_dark_shade = fetch_opt_first(sec, "-0.25", "dark_shade").fnum;
mouse = fetch_section(sec, "mouse");

View File

@ -216,10 +216,6 @@ struct Client
uint frame;
char *fg;
uint resizecorner;
float client_light_shade;
float client_dark_shade;
float bar_light_shade;
float bar_dark_shade;
} colors;
/* Client Information by flags */
uint flags;
@ -414,6 +410,10 @@ typedef struct
uint tagbord;
char *layout_fg;
uint layout_bg;
float client_light_shade;
float client_dark_shade;
float bar_light_shade;
float bar_dark_shade;
} colors;
struct
{

6
wmfsrc
View File

@ -26,6 +26,9 @@
border = true
#height = "-1"
light_shade = 0.10
dark_shade = -0.10
[systray]
# Enable/disable systray
active = true
@ -189,6 +192,9 @@
# Modifier for mouse use
modifier = "Alt"
light_shade = 0.10
dark_shade = -0.10
# *DEPRECATED* but works, see [rules] section
# Set automatic free or max client
# autofree = "xterm|MPlayer"