]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
*add* systray icons can also be adjusted, like task icons
[chaz/tint2] / src / config.c
index 5f74d4ed762a6abb0cf67a5c1730703529e03435..d5f7ef1a8776e58ae670c7b4a08f32ec03b92e3e 100644 (file)
@@ -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)
This page took 0.020533 seconds and 4 git commands to generate.