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