nvim and metropolis
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[apps]
|
||||
|
||||
vim-custom = "~/.config/nvim/colors/theme.vim"
|
||||
neovim-custom = "~/.config/nvim/colors/theme-nvim.lua"
|
||||
airline = "~/.config/nvim/autoload/airline/themes/theme.vim"
|
||||
|
||||
shell-custom = { file = "~/.cache/theme/colors.sh", post = "(bspc wm -r &) ; (source ~/.cache/theme/colors.sh)" }
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
require('base16-colorscheme').with_config {
|
||||
telescope = false,
|
||||
}
|
||||
|
||||
require('base16-colorscheme').setup({
|
||||
base00 = "#{{base00-hex}}",
|
||||
base01 = "#{{base01-hex}}",
|
||||
base02 = "#{{base02-hex}}",
|
||||
base03 = "#{{base03-hex}}",
|
||||
base04 = "#{{base04-hex}}",
|
||||
base05 = "#{{base05-hex}}",
|
||||
base06 = "#{{base06-hex}}",
|
||||
base07 = "#{{base07-hex}}",
|
||||
base08 = "#{{base08-hex}}",
|
||||
base09 = "#{{base09-hex}}",
|
||||
base0A = "#{{base0A-hex}}",
|
||||
base0B = "#{{base0B-hex}}",
|
||||
base0C = "#{{base0C-hex}}",
|
||||
base0D = "#{{base0D-hex}}",
|
||||
base0E = "#{{base0E-hex}}",
|
||||
base0F = "#{{base0F-hex}}",
|
||||
})
|
||||
@@ -8,9 +8,11 @@
|
||||
" :colorscheme works in terminals supported by base16-shell scripts
|
||||
" User must set this variable in .vimrc
|
||||
" let g:base16_shell_path=base16-builder/output/shell/
|
||||
|
||||
if !has("gui_running")
|
||||
if exists("g:base16_shell_path")
|
||||
execute "silent !/bin/sh ".g:base16_shell_path."/base16-{{scheme-slug}}.sh"
|
||||
" execute "silent !/bin/sh ".g:base16_shell_path."/base16-{{scheme-slug}}.sh"
|
||||
execute "silent !/bin/sh $HOME/.cache/theme/variables.sh"
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user