lower battery drawing : update to 10s and battery_hide config
git-svn-id: http://tint2.googlecode.com/svn/trunk@364 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -358,6 +358,13 @@ void add_entry (char *key, char *value)
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user