-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.def.h
28 lines (24 loc) · 971 Bytes
/
config.def.h
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
/* blocks path */
#define BLOCKS "~/.local/share/dwmbar/blocks"
/* setup your blocks here */
static const Block blocks[] = {
/* name */ /* command */ /* interval */
{ "player", "mpd.sh", 10 },
{ "torrent", "transmission.sh", 15 },
{ "volume", "pamixer.sh", 5 },
{ "bright", "xbacklight.sh", 10 },
{ "network", "network.sh", 5 },
{ "memory", "memory.sh", 5 },
{ "cpu", "cpu-bars.sh", 1 },
{ "battery", "acpi.sh", 10 },
{ "temperature", "temperature.sh", 10 },
{ "keyboard", "xkb-switch.sh", 10 },
{ "datetime", "datetime.sh", 60 },
};
/* drawable delimiter for blocks
* (WARN: don't set non-printable character) */
static const char delimiter = '|';
/* should there be spaces around delimiter [0/1] */
static const int withSpaces = 1;
/* path to dwmbar fifo */
static const char fifoPath[] = "/tmp/dwmbar.fifo";