slstatus.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /* See LICENSE file for copyright and license details. */
  2. /* backlight */
  3. const char *backlight_perc(const char *backlight);
  4. /* battery */
  5. const char *battery_perc(const char *);
  6. const char *battery_state(const char *);
  7. const char *battery_remaining(const char *);
  8. /* cpu */
  9. const char *cpu_freq(void);
  10. const char *cpu_perc(void);
  11. /* datetime */
  12. const char *datetime(const char *fmt);
  13. /* disk */
  14. const char *disk_free(const char *path);
  15. const char *disk_perc(const char *path);
  16. const char *disk_total(const char *path);
  17. const char *disk_used(const char *path);
  18. /* entropy */
  19. const char *entropy(void);
  20. /* hostname */
  21. const char *hostname(void);
  22. /* ip */
  23. const char *ipv4(const char *interface);
  24. const char *ipv6(const char *interface);
  25. /* kernel_release */
  26. const char *kernel_release(void);
  27. /* keyboard_indicators */
  28. const char *keyboard_indicators(void);
  29. /* keymap */
  30. const char *keymap(void);
  31. /* load_avg */
  32. const char *load_avg(void);
  33. /* netspeeds */
  34. const char *netspeed_rx(const char *interface);
  35. const char *netspeed_tx(const char *interface);
  36. /* num_files */
  37. const char *num_files(const char *path);
  38. /* ram */
  39. const char *ram_free(void);
  40. const char *ram_perc(void);
  41. const char *ram_total(void);
  42. const char *ram_used(void);
  43. /* run_command */
  44. const char *run_command(const char *cmd);
  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);