herbe

git clone git://mattcarlson.org/repos/herbe.git
Log | Files | Refs

commit 33f51604144d7e0ea3553b85e87988a4df5b859d
parent 38fbe5c3119f9d1e85e95e60704675677b7db8a7
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Sat, 10 Jul 2021 02:01:50 +0000

clean up

Diffstat:
Mconfig.h | 19++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/config.h b/config.h @@ -1,19 +1,36 @@ +// herbe + +// colors static const char *background_color = "#3e3e3e"; static const char *border_color = "#ececec"; static const char *font_color = "#ececec"; + +// font static const char *font_pattern = "monospace:size=10"; + +// line spacing static unsigned line_spacing = 5; + +// padding static unsigned int padding = 15; +// width static unsigned int width = 450; + +// border size static unsigned int border_size = 2; + +// positions static unsigned int pos_x = 30; static unsigned int pos_y = 60; +// corners enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT }; enum corners corner = TOP_RIGHT; -static unsigned int duration = 5; /* in seconds */ +// time on screen +static unsigned int duration = 5; +// button defs #define DISMISS_BUTTON Button1 #define ACTION_BUTTON Button3