My slstatus configuration
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

slstatus.h 937 B

8 anos atrás
8 anos atrás
8 anos atrás
123456789101112131415161718192021222324252627282930313233343536
  1. /* See LICENSE file for copyright and license details. */
  2. /* global variables */
  3. static Display *dpy;
  4. /* statusbar configuration type and struct */
  5. typedef char *(*op_fun) (const char *);
  6. struct arg {
  7. op_fun func;
  8. const char *format;
  9. const char *args;
  10. };
  11. /* functions */
  12. void setstatus(const char *);
  13. char *smprintf(const char *, ...);
  14. char *battery_perc(const char *);
  15. char *cpu_perc(const char *);
  16. char *datetime(const char *);
  17. char *disk_free(const char *);
  18. char *disk_perc(const char *);
  19. char *disk_total(const char *);
  20. char *disk_used(const char *);
  21. char *entropy(const char*);
  22. char *gid(const char*);
  23. char *hostname(const char *);
  24. char *ip(const char *);
  25. char *ram_free(const char *);
  26. char *ram_perc(const char *);
  27. char *ram_used(const char *);
  28. char *ram_total(const char *);
  29. char *temp(const char *);
  30. char *uid(const char*);
  31. char *username(const char*);
  32. char *vol_perc(const char *);
  33. char *wifi_perc(const char *);