nfy

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

config.h (1051B)


      1 /* See LICENSE file for copyright and license details. */
      2 #ifndef _NFY_CONFIG_H_
      3 #define _NFY_CONFIG_H_
      4 
      5 #define MAXLEN 82	/* Max length per line (characters) */
      6 
      7 enum { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT }; /* Window positions */
      8 static const char *bgcolor = "#201f1c";		/* Background color */
      9 static const char *bordercolor = "#f18f19";	/* Border color */
     10 static const char *fontcolor = "#e6e5e3";	/* Font color */
     11 /* TODO: add fallbacks */
     12 static const char *fonts = "monospace:size=12"; /* Fonts */
     13 static const unsigned int padding = 10;		/* Padding (pixels) */
     14 static const unsigned int borderw = 3;		/* Border width (pixels) */
     15 static unsigned int duration = 3;		/* Notification duration (seconds) */
     16 static const unsigned int pos = TOP_RIGHT;	/* Window position */
     17 static const unsigned int mx = 10;		/* Margin X (pixels) */
     18 static const unsigned int my = 25;		/* Margin Y (pixels) */
     19 static const unsigned int linespace = 10;	/* Line spacing (pixels) */
     20 static const char *lockfile = "/tmp/nfy.lock";
     21 
     22 #endif /* _NFY_CONFIG_H_ */