diff --git a/.suckless/dmenu/config.backup b/.suckless/dmenu/config.backup new file mode 100644 index 0000000..1edb647 --- /dev/null +++ b/.suckless/dmenu/config.backup @@ -0,0 +1,23 @@ +/* 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] = { "#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; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; diff --git a/.suckless/dmenu/config.h b/.suckless/dmenu/config.h index e6a83bd..8cef6bb 100644 --- a/.suckless/dmenu/config.h +++ b/.suckless/dmenu/config.h @@ -13,7 +13,7 @@ static const char *colors[SchemeLast][2] = { /* fg bg */ [SchemeNorm] = { "#555555", "#111111" }, [SchemeSel] = { "#eeeeee", "#111111" }, - [SchemeOut] = { "#eeeeee", "#eeeeee" }, + [SchemeOut] = { "#eeeeee", "#333333" }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 9; diff --git a/.suckless/dmenu/dmenu b/.suckless/dmenu/dmenu new file mode 100755 index 0000000..5e2381b Binary files /dev/null and b/.suckless/dmenu/dmenu differ diff --git a/.suckless/dmenu/dmenu.c b/.suckless/dmenu/dmenu.c index da41c89..735faa0 100644 --- a/.suckless/dmenu/dmenu.c +++ b/.suckless/dmenu/dmenu.c @@ -685,7 +685,7 @@ setup(void) win = XCreateWindow(dpy, parentwin, x, y, mw - 2 * border_width, mh, border_width, CopyFromParent, CopyFromParent, CopyFromParent, CWOverrideRedirect | CWBackPixel | CWEventMask, &swa); - XSetWindowBorder(dpy, win, scheme[SchemeSel] [ColBg].pixel); + XSetWindowBorder(dpy, win, scheme[SchemeOut][ColBg].pixel); XSetClassHint(dpy, win, &ch); diff --git a/.suckless/dmenu/stest b/.suckless/dmenu/stest new file mode 100755 index 0000000..c93eed0 Binary files /dev/null and b/.suckless/dmenu/stest differ