Xinqi Bao's Git

added entropy
[slstatus.git] / slstatus.h
1 /* See LICENSE file for copyright and license details. */
2
3 /* global variables */
4 static Display *dpy;
5
6 /* statusbar configuration type and struct */
7 typedef char *(*op_fun) (const char *);
8 struct arg {
9 op_fun func;
10 const char *format;
11 const char *args;
12 };
13
14 /* functions */
15 void setstatus(const char *);
16 char *smprintf(const char *, ...);
17 char *battery_perc(const char *);
18 char *cpu_perc(const char *);
19 char *datetime(const char *);
20 char *disk_perc(const char *);
21 char *entropy(const char*);
22 char *ram_perc(const char *);
23 char *temp(const char *);
24 char *vol_perc(const char *);
25 char *wifi_perc(const char *);