dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 5bb77f0c2e731cf856cfa524c372781661aa4d6c
parent c8d2bd29e39670c9cbd197e19024c9ee872c0d83
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Thu,  2 May 2019 13:23:35 +0200

Make terminal colors green

Diffstat:
Msuckless/st/config.h | 11+++++------
Avim/colors/true-green.vim | 89+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mvim/vimrc | 2+-
Mzsh/zprofile | 3---
Mzsh/zshrc | 8++------
5 files changed, 97 insertions(+), 16 deletions(-)

diff --git a/suckless/st/config.h b/suckless/st/config.h @@ -107,8 +107,7 @@ static const char *colorname[] = { [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", + "#222222", }; @@ -116,10 +115,10 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 7; -unsigned int defaultbg = 0; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +unsigned int defaultfg = 10; +unsigned int defaultbg = 256; +static unsigned int defaultcs = 10; +static unsigned int defaultrcs = 2; /* * Default shape of cursor diff --git a/vim/colors/true-green.vim b/vim/colors/true-green.vim @@ -0,0 +1,89 @@ +"" thanks to darkgreendarkgreen from themebow for a running start! +"" http://themebow.com/theme/313 +"" find me online at: +"" https://github.com/ryanpcmcquen/true-monochrome_vim + +"" clear out any previous highlighting +hi clear +"" if vim is v5.8 or greater, reset syntax +if version > 580 + if exists("syntax_on") + syntax reset + endif +endif + +"" give it a name and set the background +let colors_name="true-green" +set background=dark + +"" +"" now, on to the good stuff! +"" + +"" black fg w/green bg +hi Cursor guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi IncSearch guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=ITALIC cterm=NONE +hi Search guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=ITALIC cterm=NONE +hi Visual guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=ITALIC cterm=NONE +hi VisualNOS guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=ITALIC cterm=NONE +hi SpellBad guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi SpellCap guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi SpellLocal guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi SpellRare guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi DiffAdd guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi DiffChange guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE +hi DiffDelete guifg=#00FF00 guibg=#FFFFFF ctermfg=black ctermbg=green gui=NONE cterm=NONE + +"" darkgreen fg w/green bg +hi CursorColumn guifg=#006400 guibg=#FFFFFF ctermfg=darkgreen ctermbg=green gui=NONE cterm=NONE +hi CursorLine guifg=#006400 guibg=#FFFFFF ctermfg=darkgreen ctermbg=green gui=NONE cterm=NONE + +"" darkgreen fg w/black bg +hi Comment guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=ITALIC cterm=NONE +hi Directory guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Error guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Folded guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Function guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi Identifier guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Ignore guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Label guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi LineNr guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi MatchParen guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi ModeMsg guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi MoreMsg guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi NonText guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Normal guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi PmenuSbar guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi PmenuSel guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=ITALIC cterm=NONE +hi PmenuThumb guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi PreProc guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi Special guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi SpecialKey guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=ITALIC cterm=NONE +hi Statement guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi StatusLine guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi StatusLineNC guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=ITALIC cterm=NONE +hi StorageClass guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi Structure guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi TabLine guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi TabLineFill guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi TabLineSel guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi Title guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi Todo guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi Todo guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=UNDERLINE cterm=UNDERLINE +hi Type guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi TypeDef guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi Underlined guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=UNDERLINE cterm=UNDERLINE +hi VertSplit guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi WarningMsg guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi WildMenu guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE +hi cucumberTags guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi htmlTagN guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=BOLD cterm=BOLD +hi rubySymbol guifg=#006400 guibg=#00FF00 ctermfg=darkgreen ctermbg=black gui=NONE cterm=NONE + +"" green fg w/black bg +hi Constant guifg=#FFFFFF guibg=#00FF00 ctermfg=green ctermbg=black gui=NONE cterm=NONE +hi Number guifg=#FFFFFF guibg=#00FF00 ctermfg=green ctermbg=black gui=NONE cterm=NONE +hi CursorLineNr guifg=#FFFFFF guibg=#00FF00 ctermfg=green ctermbg=black gui=NONE cterm=NONE +hi Pmenu guifg=#FFFFFF guibg=#00FF00 ctermfg=green ctermbg=black gui=BOLD cterm=BOLD +hi String guifg=#FFFFFF guibg=#00FF00 ctermfg=green ctermbg=black gui=NONE cterm=NONE +hi DiffText guifg=#FFFFFF guibg=#00FF00 ctermfg=green ctermbg=black gui=NONE cterm=NONE diff --git a/vim/vimrc b/vim/vimrc @@ -5,7 +5,7 @@ set relativenumber " Display relative line numbers " Enable syntax highlighting if has("syntax") syntax on - colorscheme true-monochrome + colorscheme true-green endif " Enable plugins diff --git a/zsh/zprofile b/zsh/zprofile @@ -18,6 +18,3 @@ path=(~/bin $(ruby -e 'print Gem.user_dir')/bin $path[@]) # set EDITOR and VISUAL variable export EDITOR="vim" export VISUAL="vim" - -# Confirm 256 color support -export TERM="rxvt-256color" diff --git a/zsh/zshrc b/zsh/zshrc @@ -41,7 +41,7 @@ _hosts() { compadd $(getent hosts | tr -s ' ' '\t' | cut -f2) } if [ -f /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20 - ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' + ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=2' fi ####################### @@ -75,11 +75,6 @@ if [ -f ~/.zsh_aliases ]; then source ~/.zsh_aliases fi -# Source fish-like syntax highlighting -if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then - source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -fi - # Use history substring search if [ -f /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh ]; then source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh @@ -165,5 +160,6 @@ if [ "$TERM" = "linux" ]; then printf '\033]PDE62EA9'; # bright magenta printf '\033]PE2EE6E6'; # bright cyan printf '\003]PFE6D7AB'; # bright white + setterm --foreground green --bold on --store # set foreground color clear; fi