diff --git a/config.def.h.orig b/config.def.h.orig new file mode 100644 index 0000000..10bcb0e --- /dev/null +++ b/config.def.h.orig @@ -0,0 +1,26 @@ +/* See LICENSE file for copyright and license details. */ +/* Default settings; can be overriden by command line. */ + +static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "monospace:size=10" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#ebdbb2", "#282828" }, + [SchemeSel] = { "#ebdbb2", "#98971a" }, + [SchemeOut] = { "#ebdbb2", "#8ec07c" }, +}; +/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ +static unsigned int lines = 0; +/* -h option; minimum height of a menu line */ +static unsigned int lineheight = 0; +static unsigned int min_lineheight = 8; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; diff --git a/config.def.h.rej b/config.def.h.rej new file mode 100644 index 0000000..3727ec5 --- /dev/null +++ b/config.def.h.rej @@ -0,0 +1,15 @@ +--- config.def.h ++++ config.def.h +@@ -9,9 +9,9 @@ static const char *fonts[] = { + static const char *prompt = NULL; /* -p option; prompt to the left of input field */ + static const char *colors[SchemeLast][2] = { + /* fg bg */ +- [SchemeNorm] = { "#bbbbbb", "#222222" }, +- [SchemeSel] = { "#eeeeee", "#005577" }, +- [SchemeOut] = { "#000000", "#00ffff" }, ++ [SchemeNorm] = { "#ebdbb2", "#282828" }, ++ [SchemeSel] = { "#ebdbb2", "#98971a" }, ++ [SchemeOut] = { "#ebdbb2", "#8ec07c" }, + }; + /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ + static unsigned int lines = 0; diff --git a/config.h b/config.h new file mode 100644 index 0000000..f26e730 --- /dev/null +++ b/config.h @@ -0,0 +1,26 @@ +/* See LICENSE file for copyright and license details. */ +/* Default settings; can be overriden by command line. */ + +static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "monospace:size=10" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#d4be98", "#282828" }, + [SchemeSel] = { "#d4be98", "#a9b665" }, + [SchemeOut] = { "#d4be98", "#bbc585" }, +}; +/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ +static unsigned int lines = 0; +/* -h option; minimum height of a menu line */ +static unsigned int lineheight = 0; +static unsigned int min_lineheight = 8; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; diff --git a/dmenu b/dmenu new file mode 100755 index 0000000..d8bf9fa Binary files /dev/null and b/dmenu differ diff --git a/dmenu.o b/dmenu.o new file mode 100644 index 0000000..c3e6b20 Binary files /dev/null and b/dmenu.o differ diff --git a/drw.o b/drw.o new file mode 100644 index 0000000..57700fd Binary files /dev/null and b/drw.o differ diff --git a/stest b/stest new file mode 100755 index 0000000..63e0ea3 Binary files /dev/null and b/stest differ diff --git a/stest.o b/stest.o new file mode 100644 index 0000000..4ffa357 Binary files /dev/null and b/stest.o differ diff --git a/util.o b/util.o new file mode 100644 index 0000000..3b48c2f Binary files /dev/null and b/util.o differ