diff options
author | Aaron Marcher <info@nulltime.net> | 2016-03-18 16:15:05 +0100 |
---|---|---|
committer | Aaron Marcher (drkhsh) <info@nulltime.net> | 2016-03-18 16:15:05 +0100 |
commit | 02af858a35d225f25de260accec19fa71587d7f2 (patch) | |
tree | bc05bdc7ccc0fdecacd83913bad8cd373b1dc858 /slstatus.h | |
parent | 096737778bdd57e41dcc5f2c2bae2e175f86435b (diff) |
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.
Diffstat (limited to 'slstatus.h')
-rw-r--r-- | slstatus.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 *); |