Skip to content

Latest commit

 

History

History

st

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

st

Purify theme for st


Installation

In order to apply colors for st. You have to know how to build st.

Edit those variables in config.h file and build st terminal like normal.

static const char *colorname[] = {
  /* 8 normal colors */
  "#282C34", /* Black */
  "#FF6059", /* Red */
  "#5FFF87", /* Green */
  "#FFFF87", /* Yellow */
  "#5FAFFF", /* Blue */
  "#AF87FF", /* Magenta */
  "#5FAFFF", /* Cyan */
  "#FAFAFA", /* White */
  /* 8 bright colors */
  "#282C34", /* Black */
  "#FF6059", /* Red */
  "#5FFF87", /* Green */
  "#FFFF87", /* Yellow */
  "#5FAFFF", /* Blue */
  "#AF87FF", /* Magenta */
  "#5FAFFF", /* Cyan */
  "#FAFAFA", /* White */

  [255] = 0,

  /* more colors can be added after 255 to use with DefaultXX */
  "#FAFAFA", /* 256: Foreground */
  "#252834", /* 257: Background */
};

unsigned int defaultfg = 256;
unsigned int defaultbg = 257;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;

If you also want to change to highlight background & foreground colors to match Purify, try out this patch

References

If you are using zsh, please take a look at purify/zsh to get zsh config for purify.

Lisence

MIT © Kyoz