users/vifm: add catppussino theme

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-28 18:17:11 +03:00
parent 86826e5abd
commit 7d48b963a3
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
3 changed files with 98 additions and 4 deletions

View file

@ -5,5 +5,6 @@
xdg.configFile = {
"vifm/vifmrc".source = ./vifmrc;
"vifm/colors/catppuccin".source = ./vifm_catppuccin.vifm;
};
}

View file

@ -0,0 +1,94 @@
" You can edit this file by hand.
" The " character at the beginning of a line comments out the line.
" Blank lines are ignored.
" The Default color scheme is used for any directory that does not have
" a specified scheme and for parts of user interface like menus. A
" color scheme set for a base directory will also
" be used for the sub directories.
" 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 (they set bold
" attribute in terminals with less than 16 colors):
" LightBlack
" LightRed
" LightGreen
" LightYellow
" LightBlue
" LightMagenta
" LightCyan
" LightWhite
" Available attributes (some of them can be combined):
" bold
" underline
" reverse or inverse
" standout
" italic (on unsupported systems becomes reverse)
" combine
" none
" Vifm supports 256 colors you can use color numbers 0-255
" (requires properly set up terminal: set your TERM environment variable
" (directly or using resources) to some color terminal name (e.g.
" xterm-256color) from /usr/lib/terminfo/; you can check current number
" of colors in your terminal with tput colors command)
" highlight group cterm=attrs ctermfg=foreground_color ctermbg=background_color
highlight clear
highlight Win cterm=none ctermfg=7 ctermbg=none
highlight TopLine cterm=none ctermfg=7 ctermbg=0
highlight TopLineSel cterm=bold ctermfg=4 ctermbg=0
highlight StatusLine cterm=bold ctermfg=15 ctermbg=8
highlight CmdLine cterm=none ctermfg=7 ctermbg=none
highlight Border cterm=none ctermfg=0 ctermbg=0
highlight OtherLine cterm=none ctermfg=none ctermbg=none
highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=white
highlight TabLine cterm=none ctermfg=0 ctermbg=none
highlight TabLineSel cterm=bold ctermfg=0 ctermbg=2
highlight SuggestBox cterm=bold ctermfg=0 ctermbg=17
highlight WildMenu cterm=underline,reverse ctermfg=7 ctermbg=0
highlight Directory cterm=bold ctermfg=4 ctermbg=none
highlight Link cterm=bold ctermfg=17 ctermbg=none
highlight HardLink cterm=none ctermfg=17 ctermbg=none
highlight BrokenLink cterm=bold ctermfg=1 ctermbg=none
highlight Socket cterm=bold ctermfg=2 ctermbg=none
highlight Device cterm=bold ctermfg=2 ctermbg=none
highlight Fifo cterm=bold ctermfg=2 ctermbg=none
highlight Executable cterm=bold ctermfg=2 ctermbg=none
highlight Selected cterm=bold ctermfg=5 ctermbg=none
highlight CurrLine cterm=bold,reverse ctermfg=default ctermbg=default
highlight ErrorMsg cterm=none ctermfg=1 ctermbg=0
highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red
highlight AuxWin ctermfg=default ctermbg=default
highlight User1 ctermfg=default ctermbg=default
highlight User2 ctermfg=default ctermbg=default
highlight User3 ctermfg=default ctermbg=default
highlight User4 ctermfg=default ctermbg=default
highlight User5 ctermfg=default ctermbg=default
highlight User6 ctermfg=default ctermbg=default
highlight User7 ctermfg=default ctermbg=default
highlight User8 ctermfg=default ctermbg=default
highlight User9 ctermfg=default ctermbg=default
highlight OtherWin ctermfg=default ctermbg=default
highlight LineNr ctermfg=default ctermbg=default
highlight OddLine ctermfg=default ctermbg=default

View file

@ -12,8 +12,6 @@
" you will need to change this setting.
set vicmd=vim
" set vicmd=elvis\ -G\ termcap
" set vicmd=vile
" This makes vifm perform file operations on its own instead of relying on
" standard utilities like `cp`. While using `cp` and alike is a more universal
@ -59,7 +57,7 @@ set norunexec
" List of color schemes to try (picks the first one supported by the terminal)
colorscheme Default-256 Default
colorscheme catppuccin
" Format for displaying time in file list. For example:
" TIME_STAMP_FORMAT=%m/%d-%H:%M
@ -402,6 +400,7 @@ nnoremap <c-u> <c-w>x
"
" let $VIFM_SERVER_NAME = v:servername
" ------------------------------------------------------------------------------
" Ranger devicons for ViFM
" https://github.com/cirala/vifm_devicons
@ -463,7 +462,7 @@ set classify+=' ::*.d::'
set classify+=' ::*.erl,,*.hrl::'
set classify+=' ::*.ai::'
set classify+=' ::*.psb,,*.psd::'
set classify+=' ::*.jsx,*.tsx::'
set classify+=' ::*.jsx,,*.tsx::'
set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::'
set classify+=' ::*.avi,,*.flv,,*.mkv,,*.mov,,*.mp4,,*.mpeg,,*.mpg,,*.webm,,*.av1::'
set classify+=' ::*.epub,,*.pdf,,*.fb2,,*.djvu::'