From fef6082991614fe3f10bc3ee4c4e96062e4c1bb0 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Mon, 26 Jun 2017 23:28:43 +0200 Subject: [PATCH] use gruvbox instead of base16 version --- .gitmodules | 3 -- Xresources | 88 +++++++++++++++++++++------------------------------- base16-shell | 1 - vimrc | 7 ++--- zshrc | 5 --- 5 files changed, 37 insertions(+), 67 deletions(-) delete mode 160000 base16-shell diff --git a/.gitmodules b/.gitmodules index c432241..b797f25 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "base16-shell"] - path = base16-shell - url = git@github.com:chriskempson/base16-shell.git [submodule "zplug"] path = zplug url = https://github.com/zplug/zplug diff --git a/Xresources b/Xresources index 0de4562..b0a266d 100644 --- a/Xresources +++ b/Xresources @@ -64,57 +64,39 @@ URxvt*saveLines: 65536 ! + : current screen and scrollbackbuffer URxvt*print-pipe: cat > $(echo /tmp/urxvt.dump.$(date +'%Y-%m-%d--%H:%M:%S')) -! Base16 Gruvbox dark, medium -! Scheme: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) +! ----------------------------------------------------------------------------- +! File: gruvbox-dark.xresources +! Description: Retro groove colorscheme generalized +! Author: morhetz +! Source: https://github.com/morhetz/gruvbox-generalized +! Last Modified: 6 Sep 2014 +! ----------------------------------------------------------------------------- -#define base00 #282828 -#define base01 #3c3836 -#define base02 #504945 -#define base03 #665c54 -#define base04 #bdae93 -#define base05 #d5c4a1 -#define base06 #ebdbb2 -#define base07 #fbf1c7 -#define base08 #fb4934 -#define base09 #fe8019 -#define base0A #fabd2f -#define base0B #b8bb26 -#define base0C #8ec07c -#define base0D #83a598 -#define base0E #d3869b -#define base0F #d65d0e - -*.foreground: base05 -#ifdef background_opacity -*.background: [background_opacity]base00 -#else -*.background: base00 -#endif -*.cursorColor: base05 - -*.color0: base00 -*.color1: base08 -*.color2: base0B -*.color3: base0A -*.color4: base0D -*.color5: base0E -*.color6: base0C -*.color7: base05 - -*.color8: base03 -*.color9: base08 -*.color10: base0B -*.color11: base0A -*.color12: base0D -*.color13: base0E -*.color14: base0C -*.color15: base07 - -! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), -! use 'shell' template to set these if necessary -*.color16: base09 -*.color17: base0F -*.color18: base01 -*.color19: base02 -*.color20: base04 -*.color21: base06 +! hard contrast: *background: #1d2021 +*background: #282828 +! soft contrast: *background: #32302f +*foreground: #ebdbb2 +! Black + DarkGrey +*color0: #282828 +*color8: #928374 +! DarkRed + Red +*color1: #cc241d +*color9: #fb4934 +! DarkGreen + Green +*color2: #98971a +*color10: #b8bb26 +! DarkYellow + Yellow +*color3: #d79921 +*color11: #fabd2f +! DarkBlue + Blue +*color4: #458588 +*color12: #83a598 +! DarkMagenta + Magenta +*color5: #b16286 +*color13: #d3869b +! DarkCyan + Cyan +*color6: #689d6a +*color14: #8ec07c +! LightGrey + White +*color7: #a89984 +*color15: #ebdbb2 diff --git a/base16-shell b/base16-shell deleted file mode 160000 index 743d0d2..0000000 --- a/base16-shell +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 743d0d24f348db94099f2387c6a4923d8f29b543 diff --git a/vimrc b/vimrc index a274af3..f0ad1d5 100644 --- a/vimrc +++ b/vimrc @@ -35,7 +35,7 @@ Plug 'inside/vim-search-pulse' Plug 'itchyny/lightline.vim' -Plug 'chriskempson/base16-vim' +Plug 'morhetz/gruvbox' Plug 'pangloss/vim-javascript' Plug 'marijnh/tern_for_vim', { 'do': 'npm install' } @@ -156,10 +156,7 @@ set undoreload=10000 " set background=dark set cursorline -if filereadable(expand("~/.vimrc_background")) - let base16colorspace=256 - source ~/.vimrc_background -endif +colorscheme gruvbox set number if exists('+relativenumber') diff --git a/zshrc b/zshrc index d9c5f34..ab50ed9 100644 --- a/zshrc +++ b/zshrc @@ -78,11 +78,6 @@ bindkey '^N' down-history bindkey '^r' history-incremental-search-backward bindkey ' ' magic-space -# Base16 Shell -BASE16_SHELL=$HOME/.base16-shell/ -[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)" -base16_gruvbox-dark-medium - # fzf [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh