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.
This commit is contained in:

committed by
Aaron Marcher (drkhsh)

parent
096737778b
commit
02af858a35
16
slstatus.h
16
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 *);
|
||||
|
Reference in New Issue
Block a user