initial commit

This commit is contained in:
sewn 2024-06-26 07:58:41 +03:00
commit 6cef260109
No known key found for this signature in database
11 changed files with 1960 additions and 0 deletions

21
config.def.h Normal file
View file

@ -0,0 +1,21 @@
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
static int top = 1; /* -b option; if 0, appear at bottom */
static const char *fonts[] = { "monospace:size=10" }; /* -f option overrides fonts[0] */
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static uint32_t colors[][2] = {
/* fg bg */
[SchemeNorm] = { 0xbbbbbbff, 0x222222ff },
[SchemeSel] = { 0xeeeeeeff, 0x005577ff },
[SchemeOut] = { 0x000000ff, 0x00ffffff },
};
/* -l option; if nonzero, use 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[] = " ";