slstatus.h (1928B)
1 /* See LICENSE file for copyright and license details. */ 2 3 /* battery */ 4 const char *battery_icon(const char *); 5 const char *battery_perc(const char *); 6 const char *battery_state(const char *); 7 const char *battery_remaining(const char *); 8 9 /* cpu */ 10 const char *cpu_freq(void); 11 const char *cpu_perc(void); 12 13 /* datetime */ 14 const char *datetime(const char *fmt); 15 16 /* disk */ 17 const char *disk_free(const char *path); 18 const char *disk_perc(const char *path); 19 const char *disk_total(const char *path); 20 const char *disk_used(const char *path); 21 22 /* entropy */ 23 const char *entropy(void); 24 25 /* hostname */ 26 const char *hostname(void); 27 28 /* ip */ 29 const char *ipv4(const char *interface); 30 const char *ipv6(const char *interface); 31 32 /* kernel_release */ 33 const char *kernel_release(void); 34 35 /* keyboard_indicators */ 36 const char *keyboard_indicators(void); 37 38 /* keymap */ 39 const char *keymap(void); 40 41 /* load_avg */ 42 const char *load_avg(void); 43 44 /* netspeeds */ 45 const char *netspeed_rx(const char *interface); 46 const char *netspeed_tx(const char *interface); 47 48 /* num_files */ 49 const char *num_files(const char *path); 50 51 /* ram */ 52 const char *ram_free(void); 53 const char *ram_perc(void); 54 const char *ram_total(void); 55 const char *ram_used(void); 56 57 /* run_command */ 58 const char *run_command(const char *cmd); 59 60 /* pipe_command */ 61 const char *pipe_command(const char *cmd); 62 63 /* separator */ 64 const char *separator(const char *separator); 65 66 /* swap */ 67 const char *swap_free(void); 68 const char *swap_perc(void); 69 const char *swap_total(void); 70 const char *swap_used(void); 71 72 /* temperature */ 73 const char *temp(const char *); 74 75 /* uptime */ 76 const char *uptime(void); 77 78 /* user */ 79 const char *gid(void); 80 const char *username(void); 81 const char *uid(void); 82 83 /* volume */ 84 const char *vol_perc(const char *card); 85 86 /* wifi */ 87 const char *wifi_perc(const char *interface); 88 const char *wifi_essid(const char *interface); 89 90 /* wintitle */ 91 const char *wintitle(const char *pattern);