[vifm] Add to light-dark toggle
This commit is contained in:
parent
70b163cf0c
commit
856bfa82e8
4 changed files with 50 additions and 4 deletions
|
@ -71,6 +71,13 @@ if [ "$(command -v kitty)" ]; then
|
||||||
kitten themes --config-file-name theme.conf "${theme}"
|
kitten themes --config-file-name theme.conf "${theme}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Vifm
|
||||||
|
if [ "$(command -v vifm)" ]; then
|
||||||
|
echo "colorscheme ${theme} Default-256 Default" > ~/.config/vifm/theme.conf
|
||||||
|
# Update all running instances
|
||||||
|
vifm --remote -c "colorscheme ${theme}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
# This does not reload the config, but will use it when you restart vim
|
# This does not reload the config, but will use it when you restart vim
|
||||||
# Toggle an existing window using `:colorscheme ${theme}`
|
# Toggle an existing window using `:colorscheme ${theme}`
|
||||||
|
|
|
@ -34,3 +34,6 @@
|
||||||
highlight Win ctermfg=12 ctermbg=-1 cterm=none
|
highlight Win ctermfg=12 ctermbg=-1 cterm=none
|
||||||
|
|
||||||
highlight Border ctermfg=-1 ctermbg=-1 cterm=none
|
highlight Border ctermfg=-1 ctermbg=-1 cterm=none
|
||||||
|
|
||||||
|
highlight CmdLine ctermfg=7 ctermbg=0 cterm=none
|
||||||
|
|
38
stow/vifm/.config/vifm/colors/tdpeuter-light.vifm
Normal file
38
stow/vifm/.config/vifm/colors/tdpeuter-light.vifm
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
"
|
||||||
|
" ~/.config/vifm/colors/Personal.vifm
|
||||||
|
"
|
||||||
|
|
||||||
|
" The standard ncurses colors are:
|
||||||
|
" Default = -1 = None, can be used for transparency or default color
|
||||||
|
" Black = 0
|
||||||
|
" Red = 1
|
||||||
|
" Green = 2
|
||||||
|
" Yellow = 3
|
||||||
|
" Blue = 4
|
||||||
|
" Magenta = 5
|
||||||
|
" Cyan = 6
|
||||||
|
" White = 7
|
||||||
|
|
||||||
|
" Light versions of colors are also available (set bold attribute):
|
||||||
|
" LightBlack
|
||||||
|
" LightRed
|
||||||
|
" LightGreen
|
||||||
|
" LightYellow
|
||||||
|
" LightBlue
|
||||||
|
" LightMagenta
|
||||||
|
" LightCyan
|
||||||
|
" LightWhite
|
||||||
|
|
||||||
|
" Available attributes (some of them can be combined):
|
||||||
|
" bold
|
||||||
|
" underline
|
||||||
|
" reverse or inverse
|
||||||
|
" standout
|
||||||
|
" none
|
||||||
|
|
||||||
|
" Make background and vertical borders transparent.
|
||||||
|
highlight Win ctermfg=12 ctermbg=-1 cterm=none
|
||||||
|
|
||||||
|
highlight Border ctermfg=-1 ctermbg=-1 cterm=none
|
||||||
|
|
||||||
|
highlight CmdLine ctermfg=7 ctermbg=12 cterm=none
|
|
@ -2,6 +2,8 @@
|
||||||
" ~/.config/vifm/vifmrc
|
" ~/.config/vifm/vifmrc
|
||||||
"
|
"
|
||||||
|
|
||||||
|
source ~/.config/vifm/theme.conf
|
||||||
|
|
||||||
" vim: filetype=vifm :
|
" vim: filetype=vifm :
|
||||||
" Sample configuration file for vifm (last updated: 31 August, 2021)
|
" Sample configuration file for vifm (last updated: 31 August, 2021)
|
||||||
" You can edit this file by hand.
|
" You can edit this file by hand.
|
||||||
|
@ -76,10 +78,6 @@ set vimhelp
|
||||||
|
|
||||||
set norunexec
|
set norunexec
|
||||||
|
|
||||||
" List of color schemes to try (picks the first one supported by the terminal)
|
|
||||||
|
|
||||||
colorscheme Personal Default-256 Default
|
|
||||||
|
|
||||||
" Format for displaying time in file list. For example:
|
" Format for displaying time in file list. For example:
|
||||||
" TIME_STAMP_FORMAT=%m/%d-%H:%M
|
" TIME_STAMP_FORMAT=%m/%d-%H:%M
|
||||||
" See man date or man strftime for details.
|
" See man date or man strftime for details.
|
||||||
|
|
Loading…
Reference in a new issue