summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-08-05 19:50:27 -0500
committerzachir <zachir@librem.one>2022-08-05 19:50:27 -0500
commit9213f002511eca83949fbf94a82678833478bdfa (patch)
treeaad82762f2d14dd8928b1a955a2590a35b4bbd5d
parent177dcb949dc614042d3f2f07d729a195d85b4b42 (diff)
update config to use correct colors
-rw-r--r--config.def.h12
-rw-r--r--config.h18
2 files changed, 15 insertions, 15 deletions
diff --git a/config.def.h b/config.def.h
index 1f9b5e3..f55682e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -128,10 +128,10 @@ static const char *colorname[] = {
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
+ "black", /* default background colour */
+ "gray90", /* default foreground colour */
"#cccccc",
"#555555",
- "gray90", /* default foreground colour */
- "black", /* default background colour */
};
@@ -139,10 +139,10 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 258;
-unsigned int defaultbg = 259;
-unsigned int defaultcs = 256;
-static unsigned int defaultrcs = 257;
+unsigned int defaultfg = 257;
+unsigned int defaultbg = 256;
+unsigned int defaultcs = 258;
+static unsigned int defaultrcs = 259;
/*
* Default shape of cursor
diff --git a/config.h b/config.h
index 1f9b5e3..6941d51 100644
--- a/config.h
+++ b/config.h
@@ -128,10 +128,10 @@ static const char *colorname[] = {
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
+ "black", /* default background colour */
+ "gray90", /* default foreground colour */
"#cccccc",
"#555555",
- "gray90", /* default foreground colour */
- "black", /* default background colour */
};
@@ -139,10 +139,10 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 258;
-unsigned int defaultbg = 259;
-unsigned int defaultcs = 256;
-static unsigned int defaultrcs = 257;
+unsigned int defaultfg = 257;
+unsigned int defaultbg = 256;
+unsigned int defaultcs = 258;
+static unsigned int defaultrcs = 259;
/*
* Default shape of cursor
@@ -248,9 +248,9 @@ 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_Home, zoomreset, {.f = 0} },
+ { ControlMask, XK_equal, zoom, {.f = +1} },
+ { ControlMask, XK_minus, zoom, {.f = -1} },
+ { TERMMOD, XK_plus, zoomreset, {.f = 0} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
{ TERMMOD, XK_V, clippaste, {.i = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} },