diff --git a/README b/README index 497b53c..a8fcdfe 100644 --- a/README +++ b/README @@ -1,12 +1,24 @@ -Ronald's build of suckless' dmenu +dmenu - dynamic menu +==================== +dmenu is an efficient dynamic menu for X. + + +Requirements +------------ +In order to build dmenu you need the Xlib header files. + Installation ------------ +Edit config.mk to match your local setup (dmenu is installed into +the /usr/local namespace by default). + +Afterwards enter the following command to build and install dmenu +(if necessary as root): - *make clean install* or *sudo make clean install* + make clean install -Customisations --------------- -My customisations constist of making dmenu use pywal colors, and changing the font. - Nothing thats really special. Don't both sharing. +Running dmenu +------------- +See the man page for details. diff --git a/config.def.h b/config.def.h index c022db1..1edb647 100644 --- a/config.def.h +++ b/config.def.h @@ -4,14 +4,14 @@ 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[] = { - "Inconsolata:size=14" + "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] = { "#fbf1c7", "#1d2021" }, - [SchemeSel] = { "#fbf1c7", "#fb4934" }, - [SchemeOut] = { "#fbf1c7", "#8ec07c" }, + /* fg bg */ + [SchemeNorm] = { "#bbbbbb", "#222222" }, + [SchemeSel] = { "#eeeeee", "#005577" }, + [SchemeOut] = { "#000000", "#00ffff" }, }; /* -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 index 4bbea21..7117d35 100644 --- a/config.h +++ b/config.h @@ -4,12 +4,16 @@ 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[] = { - "xos4 Terminus:size=13" - + "Hack:size=10" }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ -#include "/home/regan/.cache/wal/colors-wal-dmenu.h" +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#9ed4bf", "#130f0c" }, + [SchemeSel] = { "#9ed4bf", "#A83626" }, + [SchemeOut] = { "#9ed4bf", "#B37D83" }, +}; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0; diff --git a/dmenu b/dmenu new file mode 100755 index 0000000..5d6378a Binary files /dev/null and b/dmenu differ diff --git a/dmenu.o b/dmenu.o new file mode 100644 index 0000000..7e9d1ff Binary files /dev/null and b/dmenu.o differ diff --git a/drw.o b/drw.o new file mode 100644 index 0000000..db93e5e Binary files /dev/null and b/drw.o differ diff --git a/stest b/stest new file mode 100755 index 0000000..60c69a1 Binary files /dev/null and b/stest differ diff --git a/stest.o b/stest.o new file mode 100644 index 0000000..f3d9192 Binary files /dev/null and b/stest.o differ diff --git a/util.o b/util.o new file mode 100644 index 0000000..59a0745 Binary files /dev/null and b/util.o differ