parent
cf94686974
commit
a7e80c00df
|
|
@ -1,3 +1,2 @@
|
||||||
herbe
|
herbe
|
||||||
config.h
|
|
||||||
.ccls-cache
|
.ccls-cache
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
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 }
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue