sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 55329a3efd2b39627e1fd02a1f4dab1e5d3798b5
parent f59d958400f353df0d1885aa746ee129e7300e9d
Author: anon <anon@alpine.my.domain>
Date:   Mon,  1 Jun 2026 12:15:17 +0300

A patch that gives st the catppuccin-mocha theme (my email 'userqpg@proton.me')

Diffstat:
Ast-catppuccin-mocha-01062026.diff | 58++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+), 0 deletions(-)

diff --git a/st-catppuccin-mocha-01062026.diff b/st-catppuccin-mocha-01062026.diff @@ -0,0 +1,58 @@ +diff --git a/config.def.h b/config.def.h +index 91ab8ca..a068694 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -96,32 +96,24 @@ 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", ++ [0] = "#1e1e2e", /* black */ ++ [1] = "#f38ba8", /* red */ ++ [2] = "#a6e3a1", /* green */ ++ [3] = "#f9e2af", /* yellow */ ++ [4] = "#89b4fa", /* blue */ ++ [5] = "#cba6f7", /* mauve */ ++ [6] = "#74c7ec", /* sapphire */ ++ [7] = "#cdd6f4", /* white */ + + /* 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 */ + }; + + +@@ -129,9 +121,9 @@ static const char *colorname[] = { + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +-unsigned int defaultfg = 258; +-unsigned int defaultbg = 259; +-unsigned int defaultcs = 256; ++unsigned int defaultfg = 15; ++unsigned int defaultbg = 0; ++unsigned int defaultcs = 15; + static unsigned int defaultrcs = 257; + + /*