From 0206052b5660cb77cdd0a0ac3c83dd4c3d996007 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 9 Jul 2018 15:48:55 -0700 Subject: started on positioning + command structure --- cfg.def.h | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'cfg.def.h') diff --git a/cfg.def.h b/cfg.def.h index 85487ea..dd9c317 100644 --- a/cfg.def.h +++ b/cfg.def.h @@ -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 */ -- cgit v1.2.3