Skip to content

Instantly share code, notes, and snippets.

@andoriyu
Created November 26, 2017 05:54
Show Gist options
  • Save andoriyu/8e09c832a811473259421429bd296ede to your computer and use it in GitHub Desktop.
Save andoriyu/8e09c832a811473259421429bd296ede to your computer and use it in GitHub Desktop.
--- config.def.h.orig 2016-08-11 14:25:58 UTC
+++ config.def.h
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char font[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
+static char font[] = "Fira Mono:pixelsize=14:antialias=true:autohint=false";
static int borderpx = 2;
/*
@@ -82,43 +82,37 @@ static char termname[] = "st-256color";
*/
static unsigned int tabspaces = 8;
+/* gruvbox-dark colorscheme */
+
/* 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",
+ "#1d2021", /* hard contrast: #1d2021 / soft contrast: #32302f */
+ "#cc241d",
+ "#98971a",
+ "#d79921",
+ "#458588",
+ "#b16286",
+ "#689d6a",
+ "#a89984",
+ "#928374",
+ "#fb4934",
+ "#b8bb26",
+ "#fabd2f",
+ "#83a598",
+ "#d3869b",
+ "#8ec07c",
+ "#ebdbb2",
+ [255] = 0,
+ "#32302f"
};
-
/*
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-static unsigned int defaultfg = 7;
-static unsigned int defaultbg = 0;
-static unsigned int defaultcs = 256;
+static unsigned int defaultfg = 15;
+static unsigned int defaultbg = 256;
+static unsigned int defaultcs = 15;
static unsigned int defaultrcs = 257;
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment