2017-09-17 17:12:44 +02:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
|
|
|
/* battery */
|
|
|
|
const char *battery_perc(const char *);
|
|
|
|
const char *battery_state(const char *);
|
2018-07-06 08:03:31 +02:00
|
|
|
const char *battery_remaining(const char *);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
|
|
|
/* cpu */
|
|
|
|
const char *cpu_freq(void);
|
|
|
|
const char *cpu_perc(void);
|
|
|
|
|
|
|
|
/* datetime */
|
2018-07-06 08:03:31 +02:00
|
|
|
const char *datetime(const char *fmt);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
|
|
|
/* disk */
|
2018-07-06 08:08:48 +02:00
|
|
|
const char *disk_free(const char *path);
|
|
|
|
const char *disk_perc(const char *path);
|
|
|
|
const char *disk_total(const char *path);
|
|
|
|
const char *disk_used(const char *path);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
|
|
|
/* entropy */
|
|
|
|
const char *entropy(void);
|
|
|
|
|
|
|
|
/* hostname */
|
|
|
|
const char *hostname(void);
|
|
|
|
|
|
|
|
/* ip */
|
2018-07-06 08:08:48 +02:00
|
|
|
const char *ipv4(const char *interface);
|
|
|
|
const char *ipv6(const char *interface);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
|
|
|
/* kernel_release */
|
|
|
|
const char *kernel_release(void);
|
|
|
|
|
|
|
|
/* keyboard_indicators */
|
2022-08-27 16:40:20 +02:00
|
|
|
const char *keyboard_indicators(const char *fmt);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
2018-05-23 08:16:30 +02:00
|
|
|
/* keymap */
|
|
|
|
const char *keymap(void);
|
|
|
|
|
2017-09-17 17:12:44 +02:00
|
|
|
/* load_avg */
|
2018-07-06 08:03:31 +02:00
|
|
|
const char *load_avg(void);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
2018-05-19 00:31:33 +02:00
|
|
|
/* netspeeds */
|
2018-07-06 08:03:31 +02:00
|
|
|
const char *netspeed_rx(const char *interface);
|
|
|
|
const char *netspeed_tx(const char *interface);
|
2018-05-19 00:31:33 +02:00
|
|
|
|
2017-09-17 17:12:44 +02:00
|
|
|
/* num_files */
|
2018-07-06 08:08:48 +02:00
|
|
|
const char *num_files(const char *path);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
|
|
|
/* ram */
|
|
|
|
const char *ram_free(void);
|
|
|
|
const char *ram_perc(void);
|
|
|
|
const char *ram_total(void);
|
|
|
|
const char *ram_used(void);
|
|
|
|
|
|
|
|
/* run_command */
|
2018-07-06 08:03:31 +02:00
|
|
|
const char *run_command(const char *cmd);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
2019-03-30 13:45:05 +01:00
|
|
|
/* separator */
|
|
|
|
const char *separator(const char *separator);
|
|
|
|
|
2017-09-17 17:12:44 +02:00
|
|
|
/* swap */
|
|
|
|
const char *swap_free(void);
|
|
|
|
const char *swap_perc(void);
|
|
|
|
const char *swap_total(void);
|
|
|
|
const char *swap_used(void);
|
|
|
|
|
|
|
|
/* temperature */
|
|
|
|
const char *temp(const char *);
|
|
|
|
|
|
|
|
/* uptime */
|
|
|
|
const char *uptime(void);
|
|
|
|
|
|
|
|
/* user */
|
|
|
|
const char *gid(void);
|
|
|
|
const char *username(void);
|
|
|
|
const char *uid(void);
|
|
|
|
|
|
|
|
/* volume */
|
2018-07-06 08:03:31 +02:00
|
|
|
const char *vol_perc(const char *card);
|
2017-09-17 17:12:44 +02:00
|
|
|
|
|
|
|
/* wifi */
|
2018-07-06 08:08:48 +02:00
|
|
|
const char *wifi_perc(const char *interface);
|
|
|
|
const char *wifi_essid(const char *interface);
|