Update
This commit is contained in:
parent
85a039a61e
commit
f9dedc8b35
24
char.h
24
char.h
|
@ -13,3 +13,27 @@ static char ascii_printable[] = {
|
||||||
"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
|
"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
|
||||||
"`abcdefghijklmnopqrstuvwxyz{|}~"
|
"`abcdefghijklmnopqrstuvwxyz{|}~"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static char *colorname[] = {
|
||||||
|
col_1, /* black */
|
||||||
|
col_2, /* red3 */
|
||||||
|
col_3, /* green3 */
|
||||||
|
col_4, /* yellow3 */
|
||||||
|
col_5, /* blue2 */
|
||||||
|
col_6, /* magenta3 */
|
||||||
|
col_7, /* cyan3 */
|
||||||
|
col_8, /* gray90 */
|
||||||
|
col_9, /* gray50 */
|
||||||
|
col_10, /* red */
|
||||||
|
col_11, /* green */
|
||||||
|
col_12, /* yellow */
|
||||||
|
col_13, /* #5c5cff */
|
||||||
|
col_14, /* magenta */
|
||||||
|
col_15, /* cyan */
|
||||||
|
col_16, /* white */
|
||||||
|
[255] = 0,
|
||||||
|
"#cccccc",
|
||||||
|
"#555555",
|
||||||
|
"#c0c5ce",
|
||||||
|
"#696969",
|
||||||
|
};
|
||||||
|
|
46
options.h
46
options.h
|
@ -111,33 +111,27 @@ static char *url_opener = "xdg-open"; /* Open the URL in this char *
|
||||||
static int clickeditalic = 1; /* Should clicked links show up as italic (1) or not (0) */
|
static int clickeditalic = 1; /* Should clicked links show up as italic (1) or not (0) */
|
||||||
static int clickedunderline = 1; /* Should clicked links show up underlined (1) or not (0) */
|
static int clickedunderline = 1; /* Should clicked links show up underlined (1) or not (0) */
|
||||||
|
|
||||||
/* Color options */
|
/* Color options
|
||||||
static const char *colorname[] = {
|
* Regular colors (1-8)
|
||||||
/* Normal colors */
|
*/
|
||||||
"#5c5c5c", /* black */
|
#define col_1 "#5c5c5c" /* regular color 1 */
|
||||||
"#e57373", /* red3 */
|
#define col_2 "#e57373" /* regular color 2 */
|
||||||
"#02982e", /* green3 */
|
#define col_3 "#02982e" /* regular color 3 */
|
||||||
"#fac863", /* yellow3 */
|
#define col_4 "#fac863" /* regular color 4 */
|
||||||
"#6699cc", /* blue2 */
|
#define col_5 "#6699cc" /* regular color 5 */
|
||||||
"#a36ac7", /* magenta3 */
|
#define col_6 "#a36ac7" /* regular color 6 */
|
||||||
"#5fb3b3", /* cyan3 */
|
#define col_7 "#5fb3b3" /* regular color 7 */
|
||||||
"#c0c5ce", /* gray90 */
|
#define col_8 "#c0c5ce" /* regular color 8 */
|
||||||
|
|
||||||
/* Bright colors */
|
/* Bright colors (9-16) */
|
||||||
"#00ffaa", /* gray50 */
|
#define col_9 "#00ffaa" /* bright color 1 */
|
||||||
"#e57373", /* red */
|
#define col_10 "#e57373" /* bright color 2 */
|
||||||
"#a6bc69", /* green */
|
#define col_11 "#a6bc69" /* bright color 3 */
|
||||||
"#fac863", /* yellow */
|
#define col_12 "#6699cc" /* bright color 4 */
|
||||||
"#6699cc", /* #5c5cff */
|
#define col_13 "#c594c5" /* bright color 5 */
|
||||||
"#c594c5", /* magenta */
|
#define col_14 "#ffffff" /* bright color 6 */
|
||||||
"#5fb3b3", /* cyan */
|
#define col_15 "#cccccc" /* bright color 7 */
|
||||||
"#ffffff", /* white */
|
#define col_16 "#555555" /* bright color 8 */
|
||||||
[255] = 0,
|
|
||||||
"#cccccc",
|
|
||||||
"#555555",
|
|
||||||
"#c0c5ce",
|
|
||||||
"#696969",
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Default foreground/background colors */
|
/* Default foreground/background colors */
|
||||||
unsigned int defaultfg = 258; /* Default foreground (text) color */
|
unsigned int defaultfg = 258; /* Default foreground (text) color */
|
||||||
|
|
2
x.c
2
x.c
|
@ -92,10 +92,10 @@ static void ttysend(const Arg *);
|
||||||
|
|
||||||
#include "options.h" /* include user configuration */
|
#include "options.h" /* include user configuration */
|
||||||
#include "char.h" /* include misc chars */
|
#include "char.h" /* include misc chars */
|
||||||
|
#include "xresources.h" /* include .xresources/xrdb options */
|
||||||
#include "keybinds.h" /* include keybinds */
|
#include "keybinds.h" /* include keybinds */
|
||||||
#include "mouse.h" /* include mouse binds */
|
#include "mouse.h" /* include mouse binds */
|
||||||
#include "mapped.h" /* include list of mapped keys */
|
#include "mapped.h" /* include list of mapped keys */
|
||||||
#include "xresources.h" /* include .xresources/xrdb options */
|
|
||||||
#include "array.h" /* include key array */
|
#include "array.h" /* include key array */
|
||||||
|
|
||||||
/* XEMBED messages */
|
/* XEMBED messages */
|
||||||
|
|
|
@ -36,4 +36,3 @@ ResourcePref resources[] = {
|
||||||
{ "cwscale", FLOAT, &cwscale },
|
{ "cwscale", FLOAT, &cwscale },
|
||||||
{ "chscale", FLOAT, &chscale },
|
{ "chscale", FLOAT, &chscale },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue