first commit: new st config

This commit is contained in:
doryan 2024-09-10 23:20:17 +04:00
parent 312d7e8f48
commit 53bfbefa24
2 changed files with 29 additions and 30 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
st
*.o
*.orig
*.rej

View File

@ -96,42 +96,37 @@ 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 */ /* 8 normal colors */
"black", "#323437",
"red3", "#ff5454",
"green3", "#8cc85f",
"yellow3", "#e3c78a",
"blue2", "#80a0ff",
"magenta3", "#d183e8",
"cyan3", "#79dac8",
"gray90", "#a1aab8",
"#7c8f8f",
/* 8 bright colors */ "#ff5189",
"gray50", "#36c692",
"red", "#bfbf97",
"green", "#74b2ff",
"yellow", "#ae81ff",
"#5c5cff", "#85dc85",
"magenta", "#e2637f",
"cyan",
"white",
[255] = 0, [255] = 0,
/* more colors can be added after 255 to use with DefaultXX */ /* more colors can be added after 255 to use with DefaultXX */
"#cccccc", "#272727",
"#555555", "#f8f8f2",
"gray90", /* default foreground colour */ "#080808",
"black", /* default background colour */ "#eeeeee",
}; };
/* /*
* Default colors (colorname index) * Default colors (colorname index)
* foreground, background, cursor, reverse cursor * foreground, background, cursor, reverse cursor
*/ */
unsigned int defaultfg = 258; unsigned int defaultfg = 259;
unsigned int defaultbg = 259; unsigned int defaultbg = 256;
unsigned int defaultcs = 256; unsigned int defaultcs = 257;
static unsigned int defaultrcs = 257; static unsigned int defaultrcs = 257;
/* /*
@ -193,8 +188,8 @@ 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} }, { ControlMask, XK_KP_Add, zoom, {.f = +1} },
{ TERMMOD, XK_Next, zoom, {.f = -1} }, { ControlMask, XK_minus, zoom, {.f = -1} },
{ 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} },