Adjust colors

master
Hektor Misplon 2020-07-28 20:32:11 +02:00
parent 53fbc57937
commit 83a5a84cd8
2 changed files with 29 additions and 35 deletions

View File

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

Binary file not shown.