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
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`.

View File

@ -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[] = " ";