summaryrefslogtreecommitdiff
path: root/slstatus.h
blob: ed86717f130753fb62a334d1a3d09cad1297211a (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
/* 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 *get_battery(const char *);
char *get_cpu_temperature(const char *);
char *get_cpu_usage(const char *);
char *get_datetime(const char *);
char *get_diskusage(const char *);
char *get_ram_usage(const char *);
char *get_volume(const char *);
char *get_wifi_signal(const char *);