summaryrefslogtreecommitdiff
path: root/pkgs/st.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/st.nix40
1 files changed, 20 insertions, 20 deletions
diff --git a/pkgs/st.nix b/pkgs/st.nix
index fe0389b..75c97fc 100644
--- a/pkgs/st.nix
+++ b/pkgs/st.nix
@@ -7,8 +7,8 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
- static char *font = "Hack:pixelsize=17:antialias=true:autohint=true";
- static int borderpx = 2;
+ static char *font = "Hack:size=17:antialias=true:autohint=true";
+ static int borderpx = 0;
/*
* What program is execed by st depends of these precedence rules:
@@ -28,7 +28,7 @@
char *vtiden = "\033[?6c";
/* Kerning / character bounding-box multipliers */
- static float cwscale = 1.0;
+ static float cwscale = 0.9;
static float chscale = 1.0;
/*
@@ -98,32 +98,32 @@
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
- "black",
- "red3",
- "green3",
- "yellow3",
- "blue2",
- "magenta3",
- "cyan3",
- "gray90",
+ "#000000",
+ "#cc6666",
+ "#b5bd68",
+ "#f0c674",
+ "#81a2be",
+ "#b294bb",
+ "#8abeb7",
+ "#ffffff",
/* 8 bright colors */
"gray50",
- "red",
- "green",
- "yellow",
- "#5c5cff",
- "magenta",
- "cyan",
- "white",
+ "#d54e53",
+ "#b9ca4a",
+ "#e7c547",
+ "#7aa6da",
+ "#c397d8",
+ "#70c0b1",
+ "#ffffff",
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
"#cccccc",
"#555555",
- "gray90", /* default foreground colour */
- "black", /* default background colour */
+ "#ffffff", /* default foreground colour */
+ "#000000", /* default background colour */
};