-
Notifications
You must be signed in to change notification settings - Fork 4
/
Options.h
31 lines (27 loc) · 1.22 KB
/
Options.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
#ifndef _OPTIONS_
#define _OPTIONS_
enum argtype {
no_arg = 0,
req_arg,
opt_arg,
};
struct _cmdline_options {
const char *name;
argtype takes_arg;
const char *descrip;
const char *def_val;
} cmdline_options[] = { { "help", no_arg, "this help", nullptr },
{ "config", req_arg, "config file", "wbar.cfg" },
{ "size", req_arg, "widget normal size", "32" },
{ "zoomf", req_arg, "widget zoomed size factor", "1."
"8" },
{ "jumpf", req_arg, "widget jump factor", "1.0" },
{ "nanim", req_arg, "number of animated icons", "3" },
{ "layer", req_arg,
"above|bellow choose at wich layer to run", nullptr },
{ "above-desk", no_arg,
"run over desktop manager (ie: nautilus)", nullptr },
{ "pos", req_arg,
"wbar position (top / bottom / +x+y)", "bottom" }, };
#endif /* _OPTIONS_ */
/* vim: set sw=2 sts=2 : */