pango_font_description_free(panel_config.g_task.font_desc);
}
memset(&panel_config, 0, sizeof(Panel));
- int i;
- for (i=0; i<TASK_STATE_COUNT; ++i)
- panel_config.g_task.alpha[i] = 100;
systray.alpha = 100;
systray.sort = 3;
old_config_file = 1;
panel_config.battery.area.bg = &g_array_index(backgrounds, Background, id);
#endif
}
+ else if (strcmp (key, "battery_hide") == 0) {
+#ifdef ENABLE_BATTERY
+ percentage_hide = atoi (value);
+ if (percentage_hide == 0)
+ percentage_hide = 101;
+#endif
+ }
/* Clock */
else if (strcmp (key, "time1_format") == 0) {
else if (strcmp(key, "strut_policy") == 0) {
if (strcmp(value, "follow_size") == 0)
panel_strut_policy = STRUT_FOLLOW_SIZE;
+ else if (strcmp(value, "none") == 0)
+ panel_strut_policy = STRUT_NONE;
else
panel_strut_policy = STRUT_MINIMUM;
}