Closed android-808 closed 12 years ago
Updated patch. Realised I'd hardcoded the battery value in the conditional.
I'm currently trying to find a way to minimize the output from conky when it can't find the file. Without this patch it still creates output about not being able to open the file but with the patch it generates two. Not sure what effect this has on CPU usage at the moment.
--- conky_colors/src/conkyrc_default.c +++ conky_colors/src/conkyrc_default.c @@ -206,7 +206,7 @@ //Battery if (set_battery == True) { fprintf(fp,"# |--BATTERY\n");
The following prevents battery stanza from being displayed if no battery is connected and --battery is specified to conky-colors. This makes the display dynamically change in a similar way to when an external hard disk drive is connected.
--- conky_colors/src/conkyrc_default.c +++ conky_colors/src/conkyrc_default.c @@ -206,7 +206,7 @@ //Battery if (set_battery == True) { fprintf(fp,"# |--BATTERY\n");