|
|
|
@ -16,7 +16,7 @@ static int borderpx = 2;
|
|
|
|
|
* 4: value of shell in /etc/passwd
|
|
|
|
|
* 5: value of shell in config.h
|
|
|
|
|
*/
|
|
|
|
|
static char *shell = "/bin/sh";
|
|
|
|
|
static char *shell = "/bin/bash";
|
|
|
|
|
char *utmp = NULL;
|
|
|
|
|
char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400";
|
|
|
|
|
|
|
|
|
@ -85,50 +85,38 @@ unsigned int tabspaces = 8;
|
|
|
|
|
/* bg opacity */
|
|
|
|
|
unsigned int alpha = 0xee;
|
|
|
|
|
|
|
|
|
|
/* Added by toerdiboy Sourcerer ColorScheme */
|
|
|
|
|
|
|
|
|
|
static const char *colorname[] = {
|
|
|
|
|
|
|
|
|
|
/* 8 normal colors */
|
|
|
|
|
[0] = "#111111", /* black */
|
|
|
|
|
[1] = "#aa4450", /* red */
|
|
|
|
|
[2] = "#719611", /* green */
|
|
|
|
|
[3] = "#ff9800", /* yellow */
|
|
|
|
|
[4] = "#6688aa", /* blue */
|
|
|
|
|
[5] = "#8f6f8f", /* magenta */
|
|
|
|
|
[6] = "#528b8b", /* cyan */
|
|
|
|
|
[7] = "#d3d3d3", /* white */
|
|
|
|
|
[0] = "#282c34", /* black */
|
|
|
|
|
[1] = "#e06c75", /* red */
|
|
|
|
|
[2] = "#98c379", /* green */
|
|
|
|
|
[3] = "#e5c07b", /* yellow */
|
|
|
|
|
[4] = "#61afef", /* blue */
|
|
|
|
|
[5] = "#c678dd", /* magenta */
|
|
|
|
|
[6] = "#56b6c2", /* cyan */
|
|
|
|
|
[7] = "#abb2bf", /* white */
|
|
|
|
|
|
|
|
|
|
/* 8 bright colors */
|
|
|
|
|
[8] = "#181818", /* black */
|
|
|
|
|
[9] = "#ff6a6a", /* red */
|
|
|
|
|
[10] = "#b1d631", /* green */
|
|
|
|
|
[11] = "#87875f", /* yellow */
|
|
|
|
|
[12] = "#90b0d1", /* blue */
|
|
|
|
|
[13] = "#8181a6", /* magenta */
|
|
|
|
|
[14] = "#87ceeb", /* cyan */
|
|
|
|
|
[15] = "#c1cdc1", /* white */
|
|
|
|
|
|
|
|
|
|
/* special colors */
|
|
|
|
|
[256] = "#222222", /* background */
|
|
|
|
|
[257] = "#c2c2b0", /* foreground */
|
|
|
|
|
[8] = "#545862", /* black */
|
|
|
|
|
[9] = "#e06c75", /* red */
|
|
|
|
|
[10] = "#98c379", /* green */
|
|
|
|
|
[11] = "#e5c07b", /* yellow */
|
|
|
|
|
[12] = "#61afef", /* blue */
|
|
|
|
|
[13] = "#c678dd", /* magenta */
|
|
|
|
|
[14] = "#56b6c2", /* cyan */
|
|
|
|
|
[15] = "#c8ccd4", /* white */
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* * Default colors (colorname index)
|
|
|
|
|
* * foreground, background, cursor
|
|
|
|
|
* */
|
|
|
|
|
unsigned int defaultfg = 257;
|
|
|
|
|
unsigned int defaultbg = 256;
|
|
|
|
|
static unsigned int defaultcs = 257;
|
|
|
|
|
unsigned int defaultfg = 7;
|
|
|
|
|
unsigned int defaultbg = 0;
|
|
|
|
|
static unsigned int defaultcs = 13;
|
|
|
|
|
static unsigned int defaultrcs = 0;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* * Colors used, when the specific fg == defaultfg. So in reverse mode this
|
|
|
|
|
* * will reverse too. Another logic would only make the simple feature too
|
|
|
|
|
* * complex.
|
|
|
|
|
* */
|
|
|
|
|
static unsigned int defaultitalic = 7;
|
|
|
|
|
static unsigned int defaultunderline = 7;
|
|
|
|
|
static unsigned int defaultrcs = 257;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Default shape of cursor
|
|
|
|
|