slstatus.h 1.7 KB

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