herbe

[fork] notifications
Log | Files | Refs | README | LICENSE

commit aff0e99f7ffe40a106e2a2ede9ae0d1c5c11681a
parent 6270058673ba6940e8c0da5061beecd907205734
Author: Hayden Hamilton <hayden@haydenvh.com>
Date:   Sun, 13 Sep 2020 20:59:10 +0100

extend duration.. a lot

Diffstat:
Aconfig.h | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/config.h b/config.h @@ -0,0 +1,19 @@ +static const char *background_color = "#0a0a10"; +static const char *border_color = "#30404e"; +static const char *font_color = "#1e5eb3"; +static const char *font_pattern = "monospace:size=7"; +static const unsigned line_spacing = 5; +static const unsigned int padding = 15; + +static const unsigned int width = 650; +static const unsigned int border_size = 2; +static const unsigned int pos_x = 10; +static const unsigned int pos_y = 35; + +enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT }; +enum corners corner = TOP_RIGHT; + +static const unsigned int duration = 500; /* in seconds */ + +#define DISMISS_BUTTON Button1 +#define ACTION_BUTTON Button3