X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fconfig.c;h=d5f7ef1a8776e58ae670c7b4a08f32ec03b92e3e;hb=f4a5dbba35cc7ae5540481ce29bc272fd0d0a03d;hp=5f74d4ed762a6abb0cf67a5c1730703529e03435;hpb=2e63fd9929fd2c261ad47f4d995dc99722177954;p=chaz%2Ftint2 diff --git a/src/config.c b/src/config.c index 5f74d4e..d5f7ef1 100644 --- a/src/config.c +++ b/src/config.c @@ -89,6 +89,7 @@ void init_config() memset(&panel_config, 0, sizeof(Panel)); panel_config.g_task.alpha = 100; panel_config.g_task.alpha_active = 100; + systray.alpha = 100; systray.sort = 3; old_config_file = 1; @@ -545,6 +546,12 @@ void add_entry (char *key, char *value) else if (strcmp(key, "systray_icon_size") == 0) { systray_max_icon_size = atoi(value); } + else if (strcmp(key, "systray_icon_asb") == 0) { + extract_values(value, &value1, &value2, &value3); + systray.alpha = atoi(value1); + systray.saturation = atoi(value2); + systray.brightness = atoi(value3); + } /* Tooltip */ else if (strcmp (key, "tooltip") == 0)