30 lines
965 B
C
30 lines
965 B
C
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 unsigned line_spacing = 5;
|
|
static unsigned int padding = 15;
|
|
|
|
static unsigned int width = 450;
|
|
static unsigned int border_size = 2;
|
|
static unsigned int pos_x = 30;
|
|
static unsigned int pos_y = 60;
|
|
|
|
enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT };
|
|
enum corners corner = TOP_RIGHT;
|
|
|
|
static unsigned int duration = 5; /* in seconds */
|
|
|
|
#define DISMISS_BUTTON Button1
|
|
#define ACTION_BUTTON Button3
|
|
|
|
/* Xresources preferences to load at startup */
|
|
ResourcePref resources[] = {
|
|
{ "background", STRING, &background_color },
|
|
{ "accentColor", STRING, &border_color },
|
|
{ "foreground", STRING, &font_color },
|
|
{ "font", STRING, &font_pattern },
|
|
{ "borderpx", INTEGER, &border_size },
|
|
{ "spacing", INTEGER, &line_spacing }
|
|
};
|