slstatus

status monitor
git clone git://git.suckless.org/slstatus
Log | Files | Refs | README | LICENSE

slstatus.h (1703B)


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