summaryrefslogtreecommitdiff
path: root/config.def.h
blob: 0b6b1e0952400ed6164c3c16a640704a65daa9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* See LICENSE file for copyright and license details. */

/* interval between updates (in ms) */
const unsigned int interval = 1000;

/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";

/* maximum output string length */
#define MAXLEN 2048

static const struct arg args[] = {
    /* function    format            argument */
    { netspeed_rx, "[ %s B/s ]",    "wlp2s0" },
    { battery_perc,"[   %s%% ]",    "BAT0" },
    { run_command, "[ %s ]",        "volume" },
    { ram_perc,    "[ 󰍛 %s%% ]",    NULL },
    { datetime,    "  %s",         "%a %x %r" },
};