nfy

Minimal and daemonless notification program for X
git clone git://git.margiolis.net/nfy.git
Log | Files | Refs | README | LICENSE

commit a88704358a73a169c166f1f2f8f5eda58f65b600
parent 58c35226d9aba9c8ccf5e59257851051fca7a459
Author: Christos Margiolis <christos@FreeBSD.org>
Date:   Thu, 27 Jul 2023 00:31:14 +0300

minor change

Diffstat:
Mconfig.h | 1-
Mnfy.c | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/config.h b/config.h @@ -8,7 +8,6 @@ enum { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT }; /* Window positions */ static const char *bgcolor = "#201f1c"; /* Background color */ static const char *bordercolor = "#f18f19"; /* Border color */ static const char *fontcolor = "#e6e5e3"; /* Font color */ -/* TODO: add fallbacks */ static const char *fonts = "monospace:size=12"; /* Fonts */ static const unsigned int padding = 10; /* Padding (pixels) */ static const unsigned int borderw = 3; /* Border width (pixels) */ diff --git a/nfy.c b/nfy.c @@ -243,7 +243,7 @@ main(int argc, char *argv[]) XRRFreeCrtcInfo(info); XRRFreeScreenResources(screens); XCloseDisplay(dpy); - (void)close(lockfd); + close(lockfd); return (0); }