2017-09-17 16:12:44 +01:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
|
|
|
/* battery */
|
|
|
|
const char *battery_perc(const char *);
|
2018-07-06 07:03:31 +01:00
|
|
|
const char *battery_remaining(const char *);
|
2021-04-02 19:11:00 +01:00
|
|
|
const char *battery_state(const char *);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
2022-11-23 22:59:51 +00:00
|
|
|
/* cat */
|
|
|
|
const char *cat(const char *path);
|
|
|
|
|
2017-09-17 16:12:44 +01:00
|
|
|
/* cpu */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *cpu_freq(const char *unused);
|
|
|
|
const char *cpu_perc(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* datetime */
|
2018-07-06 07:03:31 +01:00
|
|
|
const char *datetime(const char *fmt);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* disk */
|
2018-07-06 07:08:48 +01: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 16:12:44 +01:00
|
|
|
|
|
|
|
/* entropy */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *entropy(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* hostname */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *hostname(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* ip */
|
2018-07-06 07:08:48 +01:00
|
|
|
const char *ipv4(const char *interface);
|
|
|
|
const char *ipv6(const char *interface);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* kernel_release */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *kernel_release(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* keyboard_indicators */
|
2022-08-27 15:40:20 +01:00
|
|
|
const char *keyboard_indicators(const char *fmt);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
2018-05-23 07:16:30 +01:00
|
|
|
/* keymap */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *keymap(const char *unused);
|
2018-05-23 07:16:30 +01:00
|
|
|
|
2017-09-17 16:12:44 +01:00
|
|
|
/* load_avg */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *load_avg(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
2018-05-18 23:31:33 +01:00
|
|
|
/* netspeeds */
|
2018-07-06 07:03:31 +01:00
|
|
|
const char *netspeed_rx(const char *interface);
|
|
|
|
const char *netspeed_tx(const char *interface);
|
2018-05-18 23:31:33 +01:00
|
|
|
|
2017-09-17 16:12:44 +01:00
|
|
|
/* num_files */
|
2018-07-06 07:08:48 +01:00
|
|
|
const char *num_files(const char *path);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* ram */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *ram_free(const char *unused);
|
|
|
|
const char *ram_perc(const char *unused);
|
|
|
|
const char *ram_total(const char *unused);
|
|
|
|
const char *ram_used(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* run_command */
|
2018-07-06 07:03:31 +01:00
|
|
|
const char *run_command(const char *cmd);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* swap */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *swap_free(const char *unused);
|
|
|
|
const char *swap_perc(const char *unused);
|
|
|
|
const char *swap_total(const char *unused);
|
|
|
|
const char *swap_used(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* temperature */
|
|
|
|
const char *temp(const char *);
|
|
|
|
|
|
|
|
/* uptime */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *uptime(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* user */
|
2022-10-26 21:16:05 +01:00
|
|
|
const char *gid(const char *unused);
|
|
|
|
const char *uid(const char *unused);
|
2021-04-02 19:11:00 +01:00
|
|
|
const char *username(const char *unused);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* volume */
|
2018-07-06 07:03:31 +01:00
|
|
|
const char *vol_perc(const char *card);
|
2017-09-17 16:12:44 +01:00
|
|
|
|
|
|
|
/* wifi */
|
2018-07-06 07:08:48 +01:00
|
|
|
const char *wifi_essid(const char *interface);
|
2021-04-02 19:11:00 +01:00
|
|
|
const char *wifi_perc(const char *interface);
|