herbe

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

commit 5f144ca3557f6ddcdb35391ea83d79b6abf4b096
parent 75f2bf4b3fd136a886df8913fdd54b5f56d5c259
Author: Hayden Hamilton <hayden@haydenvh.com>
Date:   Sun, 13 Sep 2020 18:11:11 +0100

This is awesome - haydenh's tweaks to positioning and colours. Demo: gopher://haydenvh.com/9/dl/herbe.png

Diffstat:
MMakefile | 2+-
Dconfig.def.h | 19-------------------
2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,7 +5,7 @@ CC ?= cc all: herbe -config.h: config.def.h +config.h: cp config.def.h config.h herbe: herbe.c config.h diff --git a/config.def.h b/config.def.h @@ -1,19 +0,0 @@ -static const char *background_color = "#3e3e3e"; -static const char *border_color = "#ececec"; -static const char *font_color = "#ececec"; -static const char *font_pattern = "monospace:size=10"; -static const unsigned line_spacing = 5; -static const unsigned int padding = 15; - -static const unsigned int width = 450; -static const unsigned int border_size = 2; -static const unsigned int pos_x = 30; -static const unsigned int pos_y = 60; - -enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT }; -enum corners corner = TOP_RIGHT; - -static const unsigned int duration = 5; /* in seconds */ - -#define DISMISS_BUTTON Button1 -#define ACTION_BUTTON Button3