From 49cc621f90cbb433ebc7da2c36ad79363928ab4e Mon Sep 17 00:00:00 2001 From: ziro Date: Sun, 8 Nov 2020 20:01:14 +0700 Subject: [PATCH] + Adjust color --- .config/Xresources | 105 ++++++++++++++++---------------- .config/alacritty/alacritty.yml | 4 +- .config/vim/vim_plug | 5 ++ .config/vim/vim_uni | 6 +- .config/xcolors/zidark | 19 ++++++ 5 files changed, 84 insertions(+), 55 deletions(-) create mode 100644 .config/xcolors/zidark diff --git a/.config/Xresources b/.config/Xresources index 56d865e..6275c56 100644 --- a/.config/Xresources +++ b/.config/Xresources @@ -1,3 +1,6 @@ +!! You need to change "ziro" with your username +#include "/home/ziro/.config/xcolors/zidark" + !! Font and General URxvt*imLocale: en_US.UTF-8 URxvt*termName: rxvt-unicode-256color @@ -45,8 +48,8 @@ st*font: Iosevka Nerd Font:size=10:antialias=true:autohint=true st*font2: Twemoji:size=8:antialias=true:autohint=true st*depth: 32 st*bold_font: 0 -st*background: #2A3039 -st*foreground: #f5f6fa +st*foreground: FOREGROUND +st*background: BACKGROUND st*cursorColor: #8d9b53 st*termname: st-256color st*shell: /bin/zsh @@ -56,30 +59,30 @@ st*chscale: 1.0 st*cwscale: 1.0 ! black -st*color0: #353b48 -st*color8: #2A3039 -!!/* #2f3640 */ -! red -st*color1: #e84118 -st*color9: #c23616 -! green -st*color2: #4cd137 -st*color10: #44bd32 -! yellow -st*color3: #fbc531 -st*color11: #e1b12c -! blue -st*color4: #60C0FF -st*color12: #0EA0FF -! magenta -st*color5: #7e8afc -st*color13: #4c6dff -! cyan -st*color6: #5992c6 -st*color14: #40739e -! white -st*color7: #f5f6fa -st*color15: #c5c8c6 +st*color0: COLOR0 +st*color8: COLOR8 +!!/* #2f3640 */ +! red +st*color1: COLOR1 +st*color9: COLOR9 +! green +st*color2: COLOR2 +st*color10: COLOR10 +! yellow +st*color3: COLOR3 +st*color11: COLOR11 +! blue +st*color4: COLOR4 +st*color12: COLOR12 +! magenta +st*color5: COLOR5 +st*color13: COLOR13 +! cyan +st*color6: COLOR6 +st*color14: COLOR14 +! white +st*color7: COLOR7 +st*color15: COLOR15 ! transparency st*alpha: 1 @@ -89,38 +92,38 @@ rofi.show-icons: true !!colorscheme ! special -*.foreground: #f5f6fa -*.background: #1d1f21 +*.foreground: FOREGROUND +*.background: BACKGROUND *.cursorColor: #c5c8c6 ! black -*.color0: #353b48 -*.color8: #2f3640 +*.color0: COLOR0 +*.color8: COLOR8 -! red -*.color1: #e84118 -*.color9: #c23616 +! red +*.color1: COLOR1 +*.color9: COLOR9 -! green -*.color2: #4cd137 -*.color10: #44bd32 +! green +*.color2: COLOR2 +*.color10: COLOR10 -! yellow -*.color3: #fbc531 -*.color11: #e1b12c +! yellow +*.color3: COLOR3 +*.color11: COLOR11 -! blue -*.color4: #60C0FF -*.color12: #0EA0FF +! blue +*.color4: COLOR4 +*.color12: COLOR12 -! magenta -*.color5: #6B85FF -*.color13: #4466ff +! magenta +*.color5: COLOR5 +*.color13: COLOR13 -! cyan -*.color6: #487eb0 -*.color14: #40739e +! cyan +*.color6: COLOR6 +*.color14: COLOR14 -! white -*.color7: #f5f6fa -*.color15: #c5c8c6 +! white +*.color7: COLOR7 +*.color15: COLOR15 diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 0c12c0c..ad06726 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -42,7 +42,7 @@ colors: # Normal colors normal: - black: '#353b48' + black: '#404757' red: '#e84118' green: '#4cd137' yellow: '#fbc531' @@ -53,7 +53,7 @@ colors: # Bright colors bright: - black: '#2f3640' + black: '#353b48' red: '#c23616' green: '#44bd32' yellow: '#e1b12c' diff --git a/.config/vim/vim_plug b/.config/vim/vim_plug index fdbe38c..31423f9 100644 --- a/.config/vim/vim_plug +++ b/.config/vim/vim_plug @@ -54,6 +54,8 @@ else Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' } endif +Plug 'Yggdroot/indentLine' + call plug#end() " ----- PlugIns Configuration @@ -125,3 +127,6 @@ let g:SuperTabDefaultCompletionType = "" " Custom comments autocmd FileType xdefaults setlocal commentstring=!\ %s + +let g:indentLine_setColors = 0 +hi Conceal ctermfg=0 ctermbg=NONE diff --git a/.config/vim/vim_uni b/.config/vim/vim_uni index 1941a02..46a4d32 100644 --- a/.config/vim/vim_uni +++ b/.config/vim/vim_uni @@ -13,14 +13,16 @@ set mouse=a set background=dark " set complete+=kspell " set completeopt=menuone,longest -highlight VertSplit cterm=NONE ctermbg=0 ctermfg=0 +" set list lcs=trail:·,tab:··\|,nbsp:· +hi VertSplit cterm=NONE ctermbg=0 ctermfg=0 +hi NonText ctermfg=0 " hi! EndOfBuffer ctermbg=NONE ctermfg=8 set fillchars=eob:\ syntax on filetype indent plugin on map :NERDTreeToggle let mapleader=" " - + " ----- Mapping " Norm but in shortcut vnoremap . :normal . diff --git a/.config/xcolors/zidark b/.config/xcolors/zidark new file mode 100644 index 0000000..f8f2099 --- /dev/null +++ b/.config/xcolors/zidark @@ -0,0 +1,19 @@ +#define FOREGROUND #f5f6fa +#define BACKGROUND #2A3039 + +#define COLOR0 #404757 +#define COLOR8 #353b48 +#define COLOR1 #e84118 +#define COLOR9 #c23616 +#define COLOR2 #4cd137 +#define COLOR10 #44bd32 +#define COLOR3 #fbc531 +#define COLOR11 #e1b12c +#define COLOR4 #60C0FF +#define COLOR12 #0EA0FF +#define COLOR5 #7e8afc +#define COLOR13 #4c6dff +#define COLOR6 #5992c6 +#define COLOR14 #40739e +#define COLOR7 #f5f6fa +#define COLOR15 #c5c8c6