sites

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

commit 63becf49518e10e2050fb890f2cd10e2084f1617
parent 97891e12bc7432859e25c23e1358694ca6345e38
Author: GtlsGamr <hittarth91@gmail.com>
Date:   Fri,  9 Jul 2021 19:48:30 +0530

Added st-moonfly-0.8.2 colorscheme patch

Diffstat:
Ast.suckless.org/patches/moonfly/index.md | 27+++++++++++++++++++++++++++
Ast.suckless.org/patches/moonfly/moonfly.png | 0
Ast.suckless.org/patches/moonfly/st-moonfly-0.8.2.diff | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 95 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/moonfly/index.md b/st.suckless.org/patches/moonfly/index.md @@ -0,0 +1,27 @@ +Moonfly +========= + +Description +----------- +[Moonfly](https://github.com/bluz71/vim-moonfly-colors) is a dark color scheme for Vim and Neovim made by [bluz71](https://github.com/bluz71) + +Notes +----- +Once applied, only the terminal colors are changed. You can find a +[vim colorscheme](https://github.com/bluz71/vim-moonfly-colors) and much more at +[the git repo](https://github.com/bluz71/vim-moonfly-colors). + + +Example +------- +[![Screenshot](st-moonfly.png)](st-moonfly.png) + +Running zsh. + +Download +-------- +* [st-moonfly-0.8.2.diff](st-moonfly-0.8.2.diff) + +Authors +------- +* Hitarth Thummar - <https://github.com/gtlsgamr> diff --git a/st.suckless.org/patches/moonfly/moonfly.png b/st.suckless.org/patches/moonfly/moonfly.png Binary files differ. diff --git a/st.suckless.org/patches/moonfly/st-moonfly-0.8.2.diff b/st.suckless.org/patches/moonfly/st-moonfly-0.8.2.diff @@ -0,0 +1,68 @@ +diff --color -up st-0.8.4/config.def.h st-0.8.4-modified/config.def.h +--- st-0.8.4/config.def.h 2020-06-19 14:59:45.000000000 +0530 ++++ st-0.8.4-modified/config.def.h 2021-07-09 19:31:14.512632819 +0530 +@@ -96,30 +96,35 @@ 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] = "#323437", ++ [1] = "#ff5454", ++ [2] = "#8cc85f", ++ [3] = "#e3c78a", ++ [4] = "#80a0ff", ++ [5] = "#d183e8", ++ [6] = "#79dac8", ++ [7] = "#a1aab8", + + /* 8 bright colors */ +- "gray50", +- "red", +- "green", +- "yellow", +- "#5c5cff", +- "magenta", +- "cyan", +- "white", ++ ++ [8] = "#7c8f8f", ++ [9] = "#ff5189", ++ [10] = "#36c692", ++ [11] = "#bfbf97", ++ [12] = "#74b2ff", ++ [13] = "#ae81ff", ++ [14] = "#85dc85", ++ [15] = "#e2637f", + + [255] = 0, + + /* more colors can be added after 255 to use with DefaultXX */ +- "#cccccc", +- "#555555", ++ ++ [256] = "#282a36", ++ [257] = "#f8f8f2", ++ [258] = "#080808", ++ [259]= "#eeeeee", + }; + + +@@ -127,8 +132,8 @@ static const char *colorname[] = { + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +-unsigned int defaultfg = 7; +-unsigned int defaultbg = 0; ++unsigned int defaultfg = 259; ++unsigned int defaultbg = 258; + static unsigned int defaultcs = 256; + static unsigned int defaultrcs = 257; +