1
0

license fixed

This commit is contained in:
Deven Blake 2021-03-28 18:49:15 -04:00
parent c75de201a0
commit a2853a5bae
3 changed files with 21 additions and 17 deletions

View File

@ -16,5 +16,4 @@ A list of all the packages I use is available in `scripts/packages/`, organized
## License ## License
See `LICENSE` for the repository license if you want but basically all code, unless otherwise stated, is released unencumbered into the public domain. 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. 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`.
This license can be found in `licenses/MITX`.

View File

@ -1,22 +1,27 @@
/* See LICENSE file for copyright and license details. */ /* Licensed under the MIT/X Consortium license. For the full license details
/* Default settings; can be overriden by command line. */ * 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 */ static const char *colors[SchemeLast][2] = { /* { foreground, background } */
/* -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
[SchemeNorm] = { "#ff0000", "#000000" }, [SchemeNorm] = { "#ff0000", "#000000" },
[SchemeSel] = { "#ff0000", "#ffffff" }, [SchemeSel] = { "#ff0000", "#ffffff" },
[SchemeOut] = { "#000000", "#ffffff" }, [SchemeOut] = { "#000000", "#ffffff" },
}; };
/* 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 */ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0; static unsigned int lines = 0;
/* static const char *prompt = NULL;
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]" /* 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[] = " "; static const char worddelimiters[] = " ";