diff --git a/dotfiles-old/README.md b/dotfiles-old/README.md index 765345e..83df5c0 100644 --- a/dotfiles-old/README.md +++ b/dotfiles-old/README.md @@ -16,5 +16,4 @@ A list of all the packages I use is available in `scripts/packages/`, organized ## License See `LICENSE` for the repository license if you want but basically all code, unless otherwise stated, is released unencumbered into the public domain. -A notable exception to this is `src/dmenu/config.h` which is licensed under the MIT/X Consortium license as is dmenu. -This license can be found in `licenses/MITX`. +A notable exception to this is `src/dmenu/config.h` which is licensed under the MIT/X Consortium license as is dmenu; this license can be found in `licenses/DMENU`. diff --git a/dotfiles-old/licenses/MITX b/dotfiles-old/licenses/DMENU similarity index 100% rename from dotfiles-old/licenses/MITX rename to dotfiles-old/licenses/DMENU diff --git a/dotfiles-old/src/dmenu/config.h b/dotfiles-old/src/dmenu/config.h index 40e30f0..8f48cf2 100644 --- a/dotfiles-old/src/dmenu/config.h +++ b/dotfiles-old/src/dmenu/config.h @@ -1,22 +1,27 @@ -/* See LICENSE file for copyright and license details. */ -/* Default settings; can be overriden by command line. */ +/* Licensed under the MIT/X Consortium license. For the full license details + * see the file `licenses/DMENU` in my (Deven Blake's) dotfiles repository or + * the file `LICENSE` in suckless's dmenu repository. */ -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[] = { - "unscii:antialias=false:size=12", "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 +static const char *colors[SchemeLast][2] = { /* { foreground, background } */ [SchemeNorm] = { "#ff0000", "#000000" }, [SchemeSel] = { "#ff0000", "#ffffff" }, [SchemeOut] = { "#000000", "#ffffff" }, }; -/* -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: " /?\"&[]" - */ +/* default font */ +static const char *fonts[] = { + "unscii:antialias=false:size=12", + "monospace:size=10" +}; + +/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ +static unsigned int lines = 0; + +static const char *prompt = NULL; + +/* if topbar == 0 it becomes a bottom bar */ +static int topbar = 1; + +/* Characters not considered part of a word while deleting words + * for example: " /?\"&[]" */ static const char worddelimiters[] = " ";