diff options
author | jack <[email protected]> | 2023-11-21 15:45:47 -0700 |
---|---|---|
committer | jack <[email protected]> | 2023-11-21 15:45:47 -0700 |
commit | 0ae4994d0dede967eaedb8b18d564d141abc5c0a (patch) | |
tree | 090b3b348397e157ca724e424c52c19dae548a7c | |
parent | d6cbd04f3d486148e474ff5d24f7085f58069d69 (diff) | |
download | st-0ae4994d0dede967eaedb8b18d564d141abc5c0a.tar.gz st-0ae4994d0dede967eaedb8b18d564d141abc5c0a.zip |
prettier
-rw-r--r-- | config.h | 79 |
1 files changed, 25 insertions, 54 deletions
@@ -1,20 +1,11 @@ #pragma once -static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; -static int borderpx = 2; +static char *font = "JetBrainsMono Nerd Font:pixelsize=15:antialias=true:autohint=true"; +static int borderpx = 8; -/* - * What program is execed by st depends of these precedence rules: - * 1: program passed with -e - * 2: scroll and/or utmp - * 3: SHELL environment variable - * 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; -/* scroll program: to enable use a string like "scroll" */ -char *scroll = NULL; +char *scroll = "scroll"; char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400"; /* identification sequence returned in DA and DECID */ @@ -90,52 +81,32 @@ 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", - "gray90", /* default foreground colour */ - "black", /* default background colour */ + "#1d2021", // #1C1C1C + "#cc241d", + "#98971a", + "#d79921", + "#458588", + "#b16286", + "#689d6a", + "#a89984", + "#928374", + "#fb4934", + "#b8bb26", + "#fabd2f", + "#83a598", + "#d3869b", + "#8ec07c", + "#ebdbb2", }; - /* * 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; - -/* - * Default shape of cursor - * 2: Block ("█") - * 4: Underline ("_") - * 6: Bar ("|") - * 7: Snowman ("☃") + * foreground, background, cursor */ +unsigned int defaultfg = 15; +unsigned int defaultbg = 0; +unsigned int defaultcs = 15; +static unsigned int defaultrcs = 0; static unsigned int cursorshape = 2; /* |