template: Added st template

This commit is contained in:
Dylan Araps 2017-12-27 08:04:29 +11:00
parent b39df715ff
commit 9ac1e965b2

View File

@ -0,0 +1,33 @@
const char *colorname[] = {{
/* 8 normal colors */
[0] = "{color0}", /* black */
[1] = "{color1}", /* red */
[2] = "{color2}", /* green */
[3] = "{color3}", /* yellow */
[4] = "{color4}", /* blue */
[5] = "{color5}", /* magenta */
[6] = "{color6}", /* cyan */
[7] = "{color7}", /* white */
/* 8 bright colors */
[8] = "{color8}", /* black */
[9] = "{color9}", /* red */
[10] = "{color10}", /* green */
[11] = "{color11}", /* yellow */
[12] = "{color12}", /* blue */
[13] = "{color13}", /* magenta */
[14] = "{color14}", /* cyan */
[15] = "{color15}", /* white */
/* special colors */
[256] = "{background}", /* background */
[257] = "{foreground}", /* foreground */
[258] = "{cursor}", /* cursor */
}};
/* Default colors (colorname index)
* foreground, background, cursor */
unsigned int defaultbg = 256;
unsigned int defaultfg = 257;
unsigned int defaultcs = 258;