From 02af858a35d225f25de260accec19fa71587d7f2 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Fri, 18 Mar 2016 16:15:05 +0100 Subject: Easier info function names All the info function names started with "get_", which I removed to make it easier for the user to configure the program to its needs. Additionally I renamed some functions (e.g. get_ram_usage) to better names, making it easier to extend the program with ram usage / total functions. --- slstatus.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'slstatus.h') diff --git a/slstatus.h b/slstatus.h index ed86717..fb358dc 100644 --- a/slstatus.h +++ b/slstatus.h @@ -14,11 +14,11 @@ struct arg { /* functions */ void setstatus(const char *); char *smprintf(const char *, ...); -char *get_battery(const char *); -char *get_cpu_temperature(const char *); -char *get_cpu_usage(const char *); -char *get_datetime(const char *); -char *get_diskusage(const char *); -char *get_ram_usage(const char *); -char *get_volume(const char *); -char *get_wifi_signal(const char *); +char *battery_perc(const char *); +char *cpu_perc(const char *); +char *datetime(const char *); +char *disk_perc(const char *); +char *ram_perc(const char *); +char *temp(const char *); +char *vol_perc(const char *); +char *wifi_perc(const char *); -- cgit v1.2.3