Skip to content

Instantly share code, notes, and snippets.

@patrl
Created May 4, 2019 09:38
Show Gist options
  • Save patrl/d30de19086ec470e8f208b3d64540b14 to your computer and use it in GitHub Desktop.
Save patrl/d30de19086ec470e8f208b3d64540b14 to your computer and use it in GitHub Desktop.
--- a/config.def.h
+++ b/config.def.h
@@ -5,8 +5,8 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
-static int borderpx = 2;
+static char *font = "Input Mono:pixelsize=11:antialias=true:autohint=true";
+static int borderpx = 4;
/*
* What program is execed by st depends of these precedence rules:
@@ -16,7 +16,7 @@ static int borderpx = 2;
* 4: value of shell in /etc/passwd
* 5: value of shell in config.h
*/
-static char *shell = "/bin/sh";
+static char *shell = "/bin/zsh";
char *utmp = NULL;
char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400";
@@ -84,31 +84,28 @@ 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",
-
- [255] = 0,
-
- /* more colors can be added after 255 to use with DefaultXX */
- "#cccccc",
- "#555555",
+[0] = "#000000", /* black */
+[1] = "#ff5555", /* red */
+[2] = "#50fa7b", /* green */
+[3] = "#f1fa8c", /* yellow */
+[4] = "#bd93f9", /* blue */
+[5] = "#ff79c6", /* magenta */
+[6] = "#8be9fd", /* cyan */
+[7] = "#bbbbbb", /* white */
+
+/* 8 bright colors */
+[8] = "#44475a", /* black */
+[9] = "#ff5555", /* red */
+[10] = "#50fa7b", /* green */
+[11] = "#f1fa8c", /* yellow */
+[12] = "#bd93f9", /* blue */
+[13] = "#ff79c6", /* magenta */
+[14] = "#8be9fd", /* cyan */
+[15] = "#ffffff", /* white */
+
+/* special colors */
+[256] = "#282a36", /* background */
+[257] = "#f8f8f2", /* foreground */
};
@@ -116,10 +113,12 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 7;
-unsigned int defaultbg = 0;
-static unsigned int defaultcs = 256;
+unsigned int defaultfg = 257;
+unsigned int defaultbg = 256;
+static unsigned int defaultcs = 257;
static unsigned int defaultrcs = 257;
+unsigned int defaultitalic = 7;
+unsigned int defaultunderline = 7;
/*
* Default shape of cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment