-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.h
42 lines (38 loc) · 975 Bytes
/
config.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "dm.h"
#include "gtm.h"
#include "mm.h"
#include "plm.h"
#include "ptm.h"
#include "script.h"
#include "tm.h"
#include "ut.h"
#include "nvpn.h"
#include "vm.h"
/* structs */
typedef struct {
void (*func)(Args *, char *, int);
Args args;
} Module;
/*
* Config for setting up the statusbar
*
*/
static Module modules[] = {
{ nvpn, { 2, {1, 2}, { "", "" }}},
//{ bcm, {2, {1, 2}, { "", "" }}},
//{ bm, { 4, {25, 50, 90}, { "", "", "", "" }}},
//{script, {0, {0}, {"/home/og/script.sh"}}},
{ut, {1, {0}, {" "}}},
{vm, {3, {1, 50}, {" ", " ", " "}}},
//{nm, {.minArgs.icon = ""}, 1},
// {ptm, {1, {0}, {" "}}},
// {gtm, {1, {0}, {" "}}},
{plm, {1, {0}, {" "}}},
{mm, {1, {0}, {" "}}},
{tm, {1, {0}, {" "}}},
{dm, {1, {0}, {" "}}},
};
/* char between modules */
static char delimiter[] = " ";
/* */
static int refresh_interval_s = 1;