paleofetch

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 10a23a96b1453f1c16528eed120602f51a7e95b2
parent aadf25faf4705250ebfa37265a223a1e01b68a44
Author: Sridaran Thoniyil <sri7thon@gmail.com>
Date:   Fri,  8 May 2020 11:04:49 -0400

Add comment showing output of function

Diffstat:
Mpaleofetch.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/paleofetch.c b/paleofetch.c @@ -221,6 +221,7 @@ static char *get_uptime() { return uptime; } +// returns "<Battery Percentage>% [<Charging | Discharging | Unknown>]" static char *get_battery_percentage() { char *battery_percentage = malloc(BUF_SIZE), battery_status[BUF_SIZE/2]; FILE *battery_percentage_file, *battery_status_file;