slstatus

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.beauhilton.com/slstatus.git
Log | Files | Refs | README | LICENSE

slstatus.h (1766B)


      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 /* separator */
     60 const char *separator(const char *separator);
     61 
     62 /* swap */
     63 const char *swap_free(void);
     64 const char *swap_perc(void);
     65 const char *swap_total(void);
     66 const char *swap_used(void);
     67 
     68 /* temperature */
     69 const char *temp(const char *);
     70 
     71 /* uptime */
     72 const char *uptime(void);
     73 
     74 /* user */
     75 const char *gid(void);
     76 const char *username(void);
     77 const char *uid(void);
     78 
     79 /* volume */
     80 const char *vol_perc(const char *card);
     81 
     82 /* wifi */
     83 const char *wifi_perc(const char *interface);
     84 const char *wifi_essid(const char *interface);