Adjust colors
parent
53fbc57937
commit
83a5a84cd8
|
@ -1,11 +1,7 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
/*
|
/* see http://freedesktop.org/software/fontconfig/fontconfig-user.html */
|
||||||
* appearance
|
static char *font = "Iosevka:pixelsize=20:antialias=true:autohint=true";
|
||||||
*
|
|
||||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
|
||||||
*/
|
|
||||||
static char *font = "Iosevka:pixelsize=24:antialias=true:autohint=true";
|
|
||||||
static int borderpx = 0;
|
static int borderpx = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -16,6 +12,7 @@ static int borderpx = 0;
|
||||||
* 4: value of shell in /etc/passwd
|
* 4: value of shell in /etc/passwd
|
||||||
* 5: value of shell in config.h
|
* 5: value of shell in config.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static char *shell = "/bin/sh";
|
static char *shell = "/bin/sh";
|
||||||
char *utmp = NULL;
|
char *utmp = NULL;
|
||||||
/* scroll program: to enable use a string like "scroll" */
|
/* scroll program: to enable use a string like "scroll" */
|
||||||
|
@ -86,31 +83,28 @@ unsigned int tabspaces = 8;
|
||||||
|
|
||||||
/* Terminal colors (16 first used in escape sequence) */
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
static const char *colorname[] = {
|
static const char *colorname[] = {
|
||||||
/* 8 normal colors */
|
|
||||||
"#0d0d0d",
|
|
||||||
"#803333",
|
|
||||||
"#60802d",
|
|
||||||
"#b36314",
|
|
||||||
"#0f0f4d",
|
|
||||||
"magenta3",
|
|
||||||
"cyan3",
|
|
||||||
"#ccc",
|
|
||||||
|
|
||||||
/* 8 bright colors */
|
"#1c1c1c", /*black*/
|
||||||
"gray50",
|
"#ac4142", /*r*/
|
||||||
"red",
|
"#90a959", /*g*/
|
||||||
"green",
|
"#f4bf75", /*y*/
|
||||||
"yellow",
|
"#6a9fb5", /*b*/
|
||||||
"#5c5cff",
|
"#aa759f", /*m*/
|
||||||
"magenta",
|
"#75b5aa", /*c*/
|
||||||
"cyan",
|
"#ccc", /*white*/
|
||||||
"white",
|
|
||||||
|
"#1c1c1c", /*black*/
|
||||||
|
"#ac4142", /*r*/
|
||||||
|
"#90a959", /*g*/
|
||||||
|
"#f4bf75", /*y*/
|
||||||
|
"#6a9fb5", /*b*/
|
||||||
|
"#aa759f", /*m*/
|
||||||
|
"#75b5aa", /*c*/
|
||||||
|
"#ccc", /*white*/
|
||||||
|
|
||||||
[255] = 0,
|
[255] = 0,
|
||||||
|
[256] = "#1c1c1c", /* background */
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
[257] = "#d0d0d0", /* foreground */
|
||||||
"#cccccc",
|
|
||||||
"#555555",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -118,9 +112,9 @@ static const char *colorname[] = {
|
||||||
* Default colors (colorname index)
|
* Default colors (colorname index)
|
||||||
* foreground, background, cursor, reverse cursor
|
* foreground, background, cursor, reverse cursor
|
||||||
*/
|
*/
|
||||||
unsigned int defaultfg = 7;
|
unsigned int defaultfg = 257;
|
||||||
unsigned int defaultbg = 0;
|
unsigned int defaultbg = 256;
|
||||||
static unsigned int defaultcs = 256;
|
static unsigned int defaultcs = 257;
|
||||||
static unsigned int defaultrcs = 257;
|
static unsigned int defaultrcs = 257;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -180,15 +174,15 @@ static Shortcut shortcuts[] = {
|
||||||
{ ControlMask, XK_Print, toggleprinter, {.i = 0} },
|
{ ControlMask, XK_Print, toggleprinter, {.i = 0} },
|
||||||
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
||||||
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
||||||
{ TERMMOD, XK_Prior, zoom, {.f = +1} },
|
{ TERMMOD, XK_Prior, zoom, {.f = +4} },
|
||||||
{ TERMMOD, XK_Next, zoom, {.f = -1} },
|
{ TERMMOD, XK_Next, zoom, {.f = -4} },
|
||||||
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
|
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
|
||||||
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
|
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
|
||||||
{ TERMMOD, XK_V, clippaste, {.i = 0} },
|
{ TERMMOD, XK_V, clippaste, {.i = 0} },
|
||||||
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
|
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
|
||||||
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
|
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
|
||||||
{ TERMMOD, XK_K, kscrollup, {.i = 3} },
|
{ TERMMOD, XK_K, kscrollup, {.i = 8} },
|
||||||
{ TERMMOD, XK_J, kscrolldown, {.i = 3} },
|
{ TERMMOD, XK_J, kscrolldown, {.i = 8} },
|
||||||
{ ShiftMask, XK_Return, newterm, {.i = 0} },
|
{ ShiftMask, XK_Return, newterm, {.i = 0} },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue