diff options
| author | William Casarin <jb55@jb55.com> | 2018-07-09 15:48:55 -0700 |
|---|---|---|
| committer | William Casarin <jb55@jb55.com> | 2018-07-09 15:49:33 -0700 |
| commit | 0206052b5660cb77cdd0a0ac3c83dd4c3d996007 (patch) | |
| tree | f0b0f1cd48f0f8f67d85e981be114e84d36ac8b3 /cfg.def.h | |
| parent | c999204365695799c9b7d79f4973d307421afecb (diff) | |
started on positioning + command structure
Diffstat (limited to 'cfg.def.h')
| -rw-r--r-- | cfg.def.h | 29 |
1 files changed, 17 insertions, 12 deletions
@@ -1,7 +1,18 @@ /* See LICENSE file for copyright and license details. */ /* Default settings; can be overriden by command line. */ -static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ +enum position { + POSITION_TOP, + POSITION_LEFT, + POSITION_RIGHT, + POSITION_BOTTOM +}; + +static int xpad = 6; +static int ypad = 2; + +static enum position position = POSITION_RIGHT; /* -b option; if 0, dmenu appears at bottom */ + static const char *separator = " → "; @@ -17,17 +28,11 @@ static struct scheme schemes[SchemeLast] = { .name = "#bbbbbb" }, - [SchemeSel] = { .bg = "#005577", - .bind = "#eeeeee", - .arrow = "#666666", - .name = "#eeeeee" - }, - - [SchemeOut] = { .bg = "#00ffff", - .bind = "#000000", - .arrow = "#666666", - .name = "#000000" - }, + [SchemePrefix] = { .bg = "#005577", + .bind = "#eeeeee", + .arrow = "#666666", + .name = "#eeeeee" + }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ |
