]> git.armaanb.net Git - st.git/blobdiff - config.h
Switch to zenburn theme
[st.git] / config.h
index dc179d70a4d968968822379bc5f6f2217d701933..3bd6a1fb84de30230a9ce773c3b109922628e701 100644 (file)
--- a/config.h
+++ b/config.h
@@ -93,74 +93,61 @@ char *termname = "st-256color";
  */
 unsigned int tabspaces = 8;
 
-/* Terminal colors (16 first used in escape sequence).
-        Modus Operandi theme. */
-/* static const char *colorname[] = { */
-/*     /\* 8 normal colors *\/ */
-/*     "#000000", // black */
-/*     "#ff8059", // red */
-/*     "#00fc50", // green */
-/*     "#eecc00", // yellow */
-/*     "#29aeff", // blue */
-/*     "#feacd0", // magenta */
-/*     "#00d3d0", // cyan */
-/*     "#ffffff", // white */
-
-/*     /\* 8 bright colors *\/ */
-/*     "#555555", // black */
-/*     "#ffa0a0", // red */
-/*     "#88cf88", // green */
-/*     "#d2b580", // yellow */
-/*     "#92baff", // blue */
-/*     "#e0b2d6", // magenta */
-/*     "#a0bfdf", // cyan */
-/*     "#ffffff", // white */
-
-/*     [255] = 0, */
-/* }; */
-
-// Modus operandi theme
+
+/* Terminal colors (16 first used in escape sequence) */
 static const char *colorname[] = {
        /* 8 normal colors */
-       "#000000", // black
-       "#a60000", // red
-       "#005e00", // green
-       "#813e00", // yellow
-       "#0031a9", // blue
-       "#721045", // magenta
-       "#00538b", // cyan
-       "#ffffff", // white
+       "#3a3a3a",
+       "#cc9393",
+       "#7f9f7f",
+       "#d0bf8f",
+       "#6ca0a3",
+       "#dc8cc3",
+       "#93e0e3",
+       "#dcdccc",
 
        /* 8 bright colors */
-       "#555555", // black
-       "#b60000", // red
-       "#006800", // green
-       "#605b00", // yellow
-       "#b5d0ff", // blue
-       "#a8007f", // magenta
-       "#005f88", // cyan
-       "#ffffff", // white
+       "#7f9f7f",
+       "#d78787",
+       "#bfebbf",
+       "#f0dfaf",
+       "#8cd0d3",
+       "#dc8cc3",
+       "#93e0e3",
+       "#ffffff",
 
        [255] = 0,
+
+       /* more colors can be added after 255 to use with DefaultXX */
+       "#dcdccc",
+       "#dcdccc",
+       "#3a3a3a",
 };
 
 /*
  * Default colors (colorname index)
  * foreground, background, cursor, reverse cursor
  */
-unsigned int defaultfg = 0;
-unsigned int defaultbg = 7;
-static unsigned int defaultcs = 0;
-static unsigned int defaultrcs = 7;
+unsigned int defaultfg = 188;
+unsigned int defaultbg = 237;
+unsigned int defaultcs = 188;
+unsigned int defaultrcs = 257;
 
 /*
- * Default shape of cursor
- * 2: Block ("█")
- * 4: Underline ("_")
- * 6: Bar ("|")
- * 7: Snowman ("☃")
+ * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
+ * Default style of cursor
+ * 0: Blinking block
+ * 1: Blinking block (default)
+ * 2: Steady block ("█")
+ * 3: Blinking underline
+ * 4: Steady underline ("_")
+ * 5: Blinking bar
+ * 6: Steady bar ("|")
+ * 7: Blinking st cursor
+ * 8: Steady st cursor
  */
-static unsigned int cursorshape = 2;
+static unsigned int cursorstyle = 1;
+static Rune stcursor = 0x2603; /* snowman (U+2603) */
 
 /*
  * Default columns and rows numbers
@@ -208,7 +195,7 @@ static MouseShortcut mshortcuts[] = {
 
 static Shortcut shortcuts[] = {
        /* mask                 keysym          function        argument */
-       { XK_ANY_MOD,           XK_Break,       sendbreak,      {.i =  0} },
+//     { XK_ANY_MOD,           XK_Break,       sendbreak,      {.i =  0} },
        { ControlMask,          XK_Print,       toggleprinter,  {.i =  0} },
        { ShiftMask,            XK_Print,       printscreen,    {.i =  0} },
        { XK_ANY_MOD,           XK_Print,       printsel,       {.i =  0} },