aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-02-07 20:35:18 +0100
committerAdrian Kummerlaender2015-02-07 20:35:18 +0100
commitdc9d37d94318d19ca3576b09887dcc9eb66a5197 (patch)
tree649b1414581920d599e66db0906dca4e9b408899
parent8b4df1e22eddf030db7c67ab640929fec4ee0f41 (diff)
downloaddotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.tar
dotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.tar.gz
dotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.tar.bz2
dotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.tar.lz
dotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.tar.xz
dotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.tar.zst
dotfiles-dc9d37d94318d19ca3576b09887dcc9eb66a5197.zip
Added CLI support to custom vim colorscheme
-rw-r--r--vim/.vim/colors/akr.vim132
-rw-r--r--vim/airline_theme.vim40
-rw-r--r--xorg/.Xresources2
3 files changed, 86 insertions, 88 deletions
diff --git a/vim/.vim/colors/akr.vim b/vim/.vim/colors/akr.vim
index 3a92373..323c382 100644
--- a/vim/.vim/colors/akr.vim
+++ b/vim/.vim/colors/akr.vim
@@ -3,77 +3,75 @@ syntax reset
let background = "dark"
let g:colors_name = "akr"
-hi Normal gui=NONE guifg=#F2F2F2 guibg=#171717
-hi NonText gui=NONE guifg=#171717 guibg=#171717
-hi LineNr gui=NONE guifg=#605c5a guibg=NONE
-hi Cursor gui=reverse guifg=NONE guibg=NONE
-hi CursorColumn gui=NONE guifg=NONE guibg=#1a1a1a
-hi CursorLine gui=NONE guifg=NONE guibg=#212121
-hi CursorLineNr gui=NONE guifg=NONE guibg=#212121
+hi Normal gui=NONE cterm=NONE guifg=#F2F2F2 guibg=#171717 ctermfg=8 ctermbg=0
+hi NonText gui=NONE cterm=NONE guifg=#171717 guibg=#171717 ctermfg=0 ctermbg=0
+hi LineNr gui=NONE cterm=NONE guifg=#605c5a guibg=NONE ctermfg=7 ctermbg=NONE
+hi Cursor gui=reverse cterm=reverse guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi CursorColumn gui=NONE cterm=NONE guifg=NONE guibg=#000000 ctermfg=NONE
+hi CursorLine gui=NONE cterm=NONE guifg=NONE guibg=#212121 ctermfg=NONE
+hi CursorLineNr gui=NONE cterm=NONE guifg=NONE guibg=#212121 ctermfg=NONE
-hi TabLine gui=NONE guifg=#909636 guibg=#171717
-hi TabLineFill gui=NONE guifg=NONE guibg=#262626
-hi TabLineSel gui=NONE guifg=#171717 guibg=#909636
-hi StatusLine gui=NONE guifg=#909636 guibg=#212121
-hi StatusLineNC gui=NONE guifg=#909637 guibg=#212121
-hi VertSplit gui=NONE guifg=#262626 guibg=#262626
-hi Visual gui=NONE guifg=#E4E093 guibg=#8C3346
-hi VisualNOS gui=NONE guifg=NONE guibg=NONE
+hi TabLine gui=NONE cterm=NONE guifg=#909636 guibg=#171717 ctermfg=10 ctermbg=0
+hi TabLineFill gui=NONE cterm=NONE guifg=NONE guibg=#262626 ctermfg=NONE ctermbg=0
+hi TabLineSel gui=NONE cterm=NONE guifg=#171717 guibg=#909636 ctermfg=0 ctermbg=10
+hi StatusLine gui=NONE cterm=NONE guifg=#909636 guibg=#212121 ctermfg=10 ctermbg=0
+hi StatusLineNC gui=NONE cterm=NONE guifg=#909637 guibg=#212121 ctermfg=2 ctermbg=0
+hi VertSplit gui=NONE cterm=NONE guifg=#262626 guibg=#262626 ctermfg=0 ctermbg=0
+hi Visual gui=NONE cterm=NONE guifg=#E4E093 guibg=#8C3346 ctermfg=3 ctermbg=1
+hi VisualNOS gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
-hi Pmenu gui=NONE guifg=NONE guibg=#1a1a1a
-hi PmenuSbar gui=NONE guifg=NONE guibg=#262626
-hi PmenuSel gui=NONE guifg=NONE guibg=#333333
-hi PmenuThumb gui=NONE guifg=NONE guibg=#424242
+hi Pmenu gui=NONE cterm=NONE guifg=NONE guibg=#000000 ctermfg=NONE ctermbg=0
+hi PmenuSbar gui=NONE cterm=NONE guifg=NONE guibg=#262626 ctermfg=NONE
+hi PmenuSel gui=NONE cterm=NONE guifg=NONE guibg=#333333 ctermfg=NONE
+hi PmenuThumb gui=NONE cterm=NONE guifg=NONE guibg=#424242 ctermfg=NONE
+hi DiffAdd gui=NONE cterm=NONE guifg=NONE guibg=#082608 ctermfg=NONE
+hi DiffChange gui=NONE cterm=NONE guifg=NONE guibg=#000000 ctermfg=NONE ctermbg=0
+hi DiffDelete gui=NONE cterm=NONE guifg=NONE guibg=#260808 ctermfg=NONE
+hi DiffText gui=NONE cterm=NONE guifg=NONE guibg=#333333 ctermfg=NONE
+hi Search gui=NONE cterm=NONE guifg=#171717 guibg=#909636 ctermfg=0 ctermbg=10
+hi IncSearch gui=NONE cterm=NONE guifg=#171717 guibg=#909636 ctermfg=0 ctermbg=10
-hi DiffAdd gui=NONE guifg=NONE guibg=#082608
-hi DiffChange gui=NONE guifg=NONE guibg=#1a1a1a
-hi DiffDelete gui=NONE guifg=NONE guibg=#260808
-hi DiffText gui=NONE guifg=NONE guibg=#333333
+hi Comment gui=italic cterm=italic guifg=#F2F2F2 guibg=NONE ctermfg=8 ctermbg=NONE
+hi Type gui=NONE cterm=NONE guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi Boolean gui=NONE cterm=NONE guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi String gui=NONE cterm=NONE guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi Number gui=NONE cterm=NONE guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi Title gui=bold cterm=bold guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi Todo gui=standout cterm=standout guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi Constant gui=italic cterm=italic guifg=#F2F2F2 guibg=NONE ctermfg=8 ctermbg=NONE
+hi Identifier gui=bold cterm=bold guifg=#F2F2F2 guibg=#171717 ctermfg=8 ctermbg=0
+hi Statement gui=bold cterm=bold guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi StorageClass gui=bold cterm=bold guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi Conditional gui=bold cterm=bold guifg=#aadb0f guibg=NONE ctermfg=2 ctermbg=NONE
+hi MatchParen gui=bold cterm=bold guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
-hi Search gui=NONE guifg=#171717 guibg=#909636
-hi IncSearch gui=NONE guifg=#171717 guibg=#909636
+hi Special gui=NONE cterm=NONE guifg=#808080 guibg=NONE ctermfg=8 ctermbg=NONE
+hi SpecialKey gui=bold cterm=bold guifg=#212121 guibg=NONE ctermfg=0 ctermbg=NONE
-hi Comment gui=italic guifg=#F2F2F2 guibg=NONE
-hi Type gui=NONE guifg=#aadb0f guibg=NONE
-hi Boolean gui=NONE guifg=#aadb0f guibg=NONE
-hi String gui=NONE guifg=#aadb0f guibg=NONE
-hi Number gui=NONE guifg=#aadb0f guibg=NONE
-hi Title gui=bold guifg=#aadb0f guibg=NONE
-hi Todo gui=standout guifg=NONE guibg=NONE
-hi Constant gui=italic guifg=#F2F2F2 guibg=NONE
-hi Identifier gui=bold guifg=#F2F2F2 guibg=#171717
-hi Statement gui=bold guifg=#aadb0f guibg=NONE
-hi StorageClass gui=bold guifg=#aadb0f guibg=NONE
-hi Conditional gui=bold guifg=#aadb0f guibg=NONE
-hi MatchParen gui=bold guifg=NONE guibg=NONE
+hi xmlTagName gui=NONE cterm=NONE guifg=#F2F2F2 guibg=NONE ctermfg=8 ctermbg=NONE
+hi xmlEndTag gui=NONE cterm=NONE guifg=#F2F2F2 guibg=NONE ctermfg=8 ctermbg=NONE
+hi xmlNamespace gui=bold cterm=bold guifg=#F2F2F2 guibg=NONE ctermfg=8 ctermbg=NONE
+hi xmlAttrib gui=NONE cterm=NONE guifg=#F2F2F2 guibg=NONE ctermfg=8 ctermbg=NONE
-hi Special gui=NONE guifg=#808080 guibg=NONE
-hi SpecialKey gui=bold guifg=#212121 guibg=NONE
+hi ColorColumn gui=NONE cterm=NONE guifg=NONE guibg=#000000
+hi Conceal gui=NONE cterm=NONE guifg=#808080 guibg=NONE
+hi Directory gui=NONE cterm=NONE guifg=#F2F2F2 guibg=NONE ctermfg=8
+hi Error gui=NONE cterm=NONE guifg=NONE guibg=#8C3346 ctermfg=NONE ctermbg=1
+hi ErrorMsg gui=NONE cterm=NONE guifg=NONE guibg=#8C3346 ctermfg=NONE ctermbg=1
+hi FoldColumn gui=NONE cterm=NONE guifg=#616161 guibg=NONE
+hi Folded gui=NONE cterm=NONE guifg=#707070 guibg=NONE
+hi Ignore gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi ModeMsg gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi MoreMsg gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi Question gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi SignColumn gui=NONE cterm=NONE guifg=#616161 guibg=NONE
+hi Underlined gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi WarningMsg gui=NONE cterm=NONE guifg=NONE guibg=#260808
+hi WildMenu gui=NONE cterm=NONE guifg=NONE guibg=#525252
+hi lCursor gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi PreProc gui=NONE cterm=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
-hi xmlTagName gui=NONE guifg=#F2F2F2 guibg=NONE
-hi xmlEndTag gui=NONE guifg=#F2F2F2 guibg=NONE
-hi xmlNamespace gui=bold guifg=#F2F2F2 guibg=NONE
-hi xmlAttrib gui=NONE guifg=#F2F2F2 guibg=NONE
-
-hi ColorColumn gui=NONE guifg=NONE guibg=#1a1a1a
-hi Conceal gui=NONE guifg=#808080 guibg=NONE
-hi Directory gui=NONE guifg=#F2F2F2 guibg=NONE
-hi Error gui=NONE guifg=NONE guibg=#260808
-hi ErrorMsg gui=NONE guifg=NONE guibg=#260808
-hi FoldColumn gui=NONE guifg=#616161 guibg=NONE
-hi Folded gui=NONE guifg=#707070 guibg=NONE
-hi Ignore gui=NONE guifg=NONE guibg=NONE
-hi ModeMsg gui=NONE guifg=NONE guibg=NONE
-hi MoreMsg gui=NONE guifg=NONE guibg=NONE
-hi Question gui=NONE guifg=NONE guibg=NONE
-hi SignColumn gui=NONE guifg=#616161 guibg=NONE
-hi Underlined gui=NONE guifg=NONE guibg=NONE
-hi WarningMsg gui=NONE guifg=NONE guibg=#260808
-hi WildMenu gui=NONE guifg=NONE guibg=#525252
-hi lCursor gui=NONE guifg=NONE guibg=NONE
-hi PreProc gui=NONE guifg=NONE guibg=NONE
-
-hi SpellBad gui=undercurl guifg=NONE guibg=#260808
-hi SpellCap gui=undercurl guifg=NONE guibg=NONE
-hi SpellLocal gui=undercurl guifg=NONE guibg=#082608
-hi SpellRare gui=undercurl guifg=NONE guibg=#262626
+hi SpellBad gui=undercurl cterm=undercurl guifg=NONE guibg=#260808 ctermfg=NONE
+hi SpellCap gui=undercurl cterm=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
+hi SpellLocal gui=undercurl cterm=undercurl guifg=NONE guibg=#082608 ctermfg=NONE
+hi SpellRare gui=undercurl cterm=undercurl guifg=NONE guibg=#262626 ctermfg=NONE
diff --git a/vim/airline_theme.vim b/vim/airline_theme.vim
index 010a055..32582c9 100644
--- a/vim/airline_theme.vim
+++ b/vim/airline_theme.vim
@@ -28,27 +28,27 @@ let g:airline#themes#akr#palette = {}
" to the dictionary. The array is in the format:
" [ guifg, guibg, ctermfg, ctermbg, opts ]. See "help attr-list" for valid
" values for the "opt" value.
-let s:N1 = [ '#212121' , '#909636' , 17 , 190 ]
-let s:N2 = [ '#909636' , '#212121' , 255 , 238 ]
-let s:N3 = [ '#909636' , '#212121' , 85 , 234 ]
+let s:N1 = [ '#212121' , '#909636' , 0 , 10 ]
+let s:N2 = [ '#909636' , '#212121' , 10 , 0 ]
+let s:N3 = [ '#909636' , '#212121' , 10 , 0 ]
let g:airline#themes#akr#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
" Here we define overrides for when the buffer is modified. This will be
" applied after g:airline#themes#akr#palette.normal, hence why only certain keys are
" declared.
let g:airline#themes#akr#palette.normal_modified = {
- \ 'airline_c': [ '#212121' , '#352F6A' , 255 , 53 , '' ] ,
+ \ 'airline_c': [ '#212121' , '#352F6A' , 0 , 4 , '' ] ,
\ }
-let s:I1 = [ '#E4E093' , '#352F6A' , 17 , 45 ]
-let s:I2 = [ '#909636' , '#212121' , 255 , 27 ]
-let s:I3 = [ '#909636' , '#212121' , 15 , 17 ]
+let s:I1 = [ '#E4E093' , '#352F6A' , 3 , 4 ]
+let s:I2 = [ '#909636' , '#212121' , 10 , 0 ]
+let s:I3 = [ '#909636' , '#212121' , 10 , 0 ]
let g:airline#themes#akr#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#akr#palette.insert_modified = {
- \ 'airline_c': [ '#212121' , '#352F6A' , 255 , 53 , '' ] ,
+ \ 'airline_c': [ '#212121' , '#352F6A' , 0 , 4 , '' ] ,
\ }
let g:airline#themes#akr#palette.insert_paste = {
- \ 'airline_a': [ s:I1[0] , '#352F6A' , s:I1[2] , 172 , '' ] ,
+ \ 'airline_a': [ s:I1[0] , '#352F6A' , s:I1[2] , 4 , '' ] ,
\ }
let g:airline#themes#akr#palette.replace = copy(g:airline#themes#akr#palette.insert)
@@ -56,18 +56,18 @@ let g:airline#themes#akr#palette.replace.airline_a = [ s:I2[0] , '#af0000' , s
let g:airline#themes#akr#palette.replace_modified = g:airline#themes#akr#palette.insert_modified
-let s:V1 = [ '#E4E093' , '#8C3346' , 232 , 214 ]
-let s:V2 = [ '#909636' , '#212121' , 232 , 202 ]
-let s:V3 = [ '#909636' , '#212121' , 15 , 52 ]
+let s:V1 = [ '#E4E093' , '#8C3346' , 3 , 1 ]
+let s:V2 = [ '#909636' , '#212121' , 10 , 0 ]
+let s:V3 = [ '#909636' , '#212121' , 10 , 0 ]
let g:airline#themes#akr#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
let g:airline#themes#akr#palette.visual_modified = {
- \ 'airline_c': [ '#212121' , '#8C3346' , 255 , 53 , '' ] ,
+ \ 'airline_c': [ '#212121' , '#8C3346' , 0 , 1 , '' ] ,
\ }
-let s:IA1 = [ '#605c5a' , '#212121' , 239 , 234 , '' ]
-let s:IA2 = [ '#605c5a' , '#212121' , 239 , 235 , '' ]
-let s:IA3 = [ '#605c5a' , '#212121' , 239 , 236 , '' ]
+let s:IA1 = [ '#605c5a' , '#212121' , 0 , 0 , '' ]
+let s:IA2 = [ '#605c5a' , '#212121' , 0 , 0 , '' ]
+let s:IA3 = [ '#605c5a' , '#212121' , 0 , 0 , '' ]
let g:airline#themes#akr#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
let g:airline#themes#akr#palette.inactive_modified = {
\ 'airline_c': [ '' , '' , 97 , '' , '' ] ,
@@ -82,7 +82,7 @@ let g:airline#themes#akr#palette.inactive_modified = {
" will be red instead of the section's foreground color. You can also have
" multiple parts with accents within a section.
let g:airline#themes#akr#palette.accents = {
- \ 'red': [ '#ff0000' , '' , 160 , '' ]
+ \ 'red': [ '#ff0000' , '' , 9 , '' ]
\ }
@@ -94,7 +94,7 @@ if !get(g:, 'loaded_ctrlp', 0)
finish
endif
let g:airline#themes#akr#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
- \ [ '#909636' , '#212121' , 189 , 55 , '' ],
- \ [ '#909636' , '#212121' , 231 , 98 , '' ],
- \ [ '#212121' , '#909636' , 55 , 231 , 'bold' ])
+ \ [ '#909636' , '#212121' , 10 , 0 , '' ],
+ \ [ '#909636' , '#212121' , 10 , 0 , '' ],
+ \ [ '#212121' , '#909636' , 0 , 10 , 'bold' ])
diff --git a/xorg/.Xresources b/xorg/.Xresources
index 12e38aa..94c1e4b 100644
--- a/xorg/.Xresources
+++ b/xorg/.Xresources
@@ -25,7 +25,7 @@ URxvt.background: #171717
URxvt.foreground: #F2F2F2
! black
-URxvt.color0: #000000
+URxvt.color0: #171717
URxvt.color8: #F2F2F2
! red
URxvt.color1: #8C3346