diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-22 09:52:33 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-22 09:52:33 +0100 |
commit | 4e5ce102f0b049d9a2ec505048fb544070b84f99 (patch) | |
tree | b9f3985a161a0c62ec29479160deff9fae77817a /.config/nvim | |
parent | 1691ec2ca0fd951f207c221d24361a787c55fea3 (diff) |
added mode script for toggling dark/light mode
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/init.vim | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index ae77369..5345657 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -88,6 +88,7 @@ Plug 'mkarmona/materialbox' Plug 'morhetz/gruvbox' Plug 'co1ncidence/mountaineer' Plug 'co1ncidence/bliss' +Plug 'lonkaars/blubber' call plug#end() " keybinds @@ -192,7 +193,15 @@ cnoreabbrev W w cnoreabbrev sudow w !sudo tee % " colorscheme thingers -colorscheme bliss + +if filereadable(expand('~/.local/share/mode/light')) + colorscheme blubber + source $HOME/.config/nvim/blubber-lightline.vim +else + colorscheme bliss + source $HOME/.config/nvim/bliss-lightline.vim +endif + let g:lightline = { \ 'colorscheme': 'bliss', \ 'mode_map': { @@ -230,7 +239,6 @@ let g:lightline = { let g:lightline.tabline = { \ 'left': [ [ 'tabs' ] ], \ 'right': [ ] } -source $HOME/.config/nvim/bliss-lightline.vim hi! SignColumn guibg=NONE ctermbg=NONE hi GitGutterAdd guibg=NONE hi GitGutterChange guibg=NONE |