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