]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
Added alpha, saturation, brightness control for launcher icons (Issue 365).
[chaz/tint2] / src / config.c
index 80d02c0275b564bbaedc5347534ee8c150e01528..7c3517b43b71dda53ce4f96ccf1b8b12d09c0787 100644 (file)
@@ -588,6 +588,12 @@ void add_entry (char *key, char *value)
                if (!icon_theme_name)
                        icon_theme_name = strdup(value);
        }
+       else if (strcmp(key, "launcher_icon_asb") == 0) {
+               extract_values(value, &value1, &value2, &value3);
+               launcher_alpha = atoi(value1);
+               launcher_saturation = atoi(value2);
+               launcher_brightness = atoi(value3);
+       }
 
        /* Tooltip */
        else if (strcmp (key, "tooltip_show_timeout") == 0) {
This page took 0.01678 seconds and 4 git commands to generate.