aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-08 01:09:55 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-08 01:09:55 +0100
commit1f0b8e1f999eb140aa7b63807dfce674d35a4814 (patch)
tree498be47824d5b645c94dd140a27e64ea8042168d
parenta23b58c60540281e41dc73313f2c9598cf37a17f (diff)
parent3ce48c4323f38d3b61a08e7e2add5543adabe5d7 (diff)
downloaddotfiles-1f0b8e1f999eb140aa7b63807dfce674d35a4814.tar.gz
dotfiles-1f0b8e1f999eb140aa7b63807dfce674d35a4814.tar.bz2
dotfiles-1f0b8e1f999eb140aa7b63807dfce674d35a4814.zip
Merge branch 'master' into carbon
-rw-r--r--.bashrc3
-rw-r--r--.gitignore1
-rw-r--r--.newsboat/config16
-rw-r--r--.pluggins.vim23
-rw-r--r--.vimrc64
-rwxr-xr-x.xinitrc3
-rw-r--r--.zsh_aliases17
-rw-r--r--.zshrc8
-rw-r--r--applications/mutt.desktop4
-rw-r--r--applications/newsboat.desktop4
-rw-r--r--applications/sxiv.desktop4
-rw-r--r--applications/zathura.desktop4
l---------bin/bin1
-rwxr-xr-xbin/project-open24
-rwxr-xr-xbin/tag-music38
-rwxr-xr-xinstall16
-rw-r--r--mimeapps.list25
-rw-r--r--qutebrowser/config.py254
18 files changed, 432 insertions, 77 deletions
diff --git a/.bashrc b/.bashrc
index 1cdb55a..bc5b9ab 100644
--- a/.bashrc
+++ b/.bashrc
@@ -28,3 +28,6 @@ export XDG_DATA_HOME="$HOME/.data/"
# vim key bindings
set -o vi
+
+# Added by c_formatter_42
+export PATH="$PATH:/home/charles/git/c_formatter_42"
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6e92f57
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+tags
diff --git a/.newsboat/config b/.newsboat/config
index 1af63b7..c8238c8 100644
--- a/.newsboat/config
+++ b/.newsboat/config
@@ -1,12 +1,13 @@
-auto-reload yes # reload feeds at startup
+# auto-reload yes # reload feeds at startup
+reload-threads 8
+max-items 100
+# pager less
bind-key j down
bind-key k up
bind-key g home
bind-key G end
-# pager less
-
# solarized color-scheme
color background default default
color listnormal default default
@@ -15,3 +16,12 @@ color listfocus black cyan
color listfocus_unread black cyan
color info default black
color article default default
+
+
+highlight article "^(Title):.*$" blue default
+highlight article "https?://[^ ]+" red default
+highlight article "\\[image\\ [0-9]+\\]" green default
+
+# browser vimb
+
+macro v set browser "mpv %u"; open-in-browser; set browser chromium
diff --git a/.pluggins.vim b/.pluggins.vim
index 28bfeef..f5b2a4b 100644
--- a/.pluggins.vim
+++ b/.pluggins.vim
@@ -3,17 +3,21 @@
""""""""""""""""
call plug#begin()
- Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc
- Plug 'tpope/vim-eunuch' " basic unix command in vim
- Plug 'tomtom/tcomment_vim' " mininal commenter
- Plug 'itchyny/lightline.vim' " minimal status bar
- Plug 'HappyTramp/vim-syntax-extra' " syntax highlight of C operators
- Plug 'romainl/vim-cool' " disable highlight after search
- Plug 'tpope/vim-fugitive' " git wrapper
- Plug 'junegunn/vim-easy-align' " align
+ Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc
+ Plug 'tpope/vim-eunuch' " basic unix command in vim
+ Plug 'tomtom/tcomment_vim' " mininal commenter
+ Plug 'itchyny/lightline.vim' " minimal status bar
+ Plug 'HappyTramp/vim-syntax-extra' " syntax highlight of C operators
+ Plug 'romainl/vim-cool' " disable highlight after search
+ Plug 'tpope/vim-fugitive' " git wrapper
+ Plug 'junegunn/vim-easy-align' " align
+ Plug 'ludovicchabant/vim-gutentags' " generate tags in project root
+ Plug 'junegunn/goyo.vim' " generate tags in project root
+ "
" Plug 'easymotion/vim-easymotion' " TODO very intresting
Plug 'skammer/vim-css-color'
+
" markdown preview in browser
" Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
@@ -21,6 +25,7 @@ call plug#begin()
Plug 'tikhomirov/vim-glsl' " glsl
Plug 'cespare/vim-toml' " toml
Plug 'ziglang/zig.vim' " zig
+ Plug 'nikvdp/ejs-syntax' " ejs
" s19 at home
Plug 'HappyTramp/vim-42header' " 42 header
@@ -36,4 +41,6 @@ call plug#begin()
" Plug 'jez/vim-superman' " man pages in vim (too slow)
" Plug 'vim-scripts/rfc-syntax' " rfc
" Plug 'tacahiroy/ctrlp-funky' " extension to search function
+ Plug '/home/charles/git/c_formatter_42.vim'
+ Plug 'cacharle/doxy42.vim'
call plug#end()
diff --git a/.vimrc b/.vimrc
index 7df3057..7f59de6 100644
--- a/.vimrc
+++ b/.vimrc
@@ -3,7 +3,11 @@
""""""""""
" load pluggins {{{
-source $DOTDIR/.pluggins.vim
+if exists("$DOTDIR")
+ source $DOTDIR/.pluggins.vim
+else
+ source .pluggins.vim
+endif
" }}}
"""""""""""
@@ -162,7 +166,7 @@ nnoremap <leader>bl :ls<CR>
" vimrc {{{
nnoremap <leader>rc :vsplit $DOTDIR/.vimrc<cr>
-nnoremap <leader>src :source $MYVIMRC<cr>
+nnoremap <leader>sc :source $MYVIMRC<cr>
" }}}
" c {{{
@@ -190,9 +194,9 @@ autocmd Filetype cpp setlocal comments=s:/**,m:**,e:*/,s:/*,m:**,e:*/
" Put Coplien Form boilerplate class
function PutCoplienFormFunc(name)
let l:default_constructor = a:name . "();\n"
- let l:copy_constructor = a:name . "(const " . a:name . "& other);\n"
- let l:copy_operator = a:name . "& operator=(const " . a:name . "& other);\n"
- let l:destructor = "~" . a:name . "();\n"
+ let l:copy_constructor = a:name . "(const " . a:name . "& other);\n"
+ let l:copy_operator = a:name . "& operator=(const " . a:name . "& other);\n"
+ let l:destructor = "~" . a:name . "();\n"
execute "normal iclass " . a:name . "\n{\npublic:\n" . l:default_constructor . l:copy_constructor . l:copy_operator . l:destructor . "\nprivate:\n};\n"
execute "normal <2{"
@@ -207,19 +211,31 @@ nnoremap <leader>q :call QuickfixToggle()<CR>
nnoremap <leader>n :cnext <CR>
nnoremap <leader>p :cprevious <CR>
let g:quickfix_is_open = 0
-if !exists('*QuickfixToggle')
- function QuickfixToggle()
- if g:quickfix_is_open
- cclose
- let g:quickfix_is_open = 0
- else
- copen
- let g:quickfix_is_open = 1
- endif
- endfunction
-endif
+function! QuickfixToggle()
+ if g:quickfix_is_open
+ cclose
+ let g:quickfix_is_open = 0
+ else
+ copen
+ let g:quickfix_is_open = 1
+ endif
+endfunction
" }}}
+function! CountScopeLines()
+ normal! mq
+ execute '/^}'
+ let l:end_brace = line('.')
+ execute '?^{'
+ let l:start_brace = line('.')
+ normal! k
+ let l:scope_len = l:end_brace - l:start_brace - 1
+ let l:scope_name = substitute(getline('.'), '\t', ' ', 'g')
+ echom l:scope_len . ' lines in |' . l:scope_name . '|'
+ normal! `q
+endfunction
+command! CountScopeLines call CountScopeLines()
+
" make {{{
nnoremap <leader>m :make all <CR>
" }}}
@@ -242,9 +258,7 @@ autocmd Filetype vim setlocal foldmethod=marker
autocmd FileType haskell set formatprg=stylish-haskell
-autocmd FileType lisp,html,css set shiftwidth=2
-
-autocmd FileType js set shiftwidth=4
+autocmd FileType lisp,html,css setlocal shiftwidth=2
" }}}
""""""""""""
@@ -253,11 +267,13 @@ autocmd FileType js set shiftwidth=4
" ctrlp {{{
" directory to ignore when searching in file tree
-set wildignore=*/tmp/*,*.o,*.so,*.swp,*.zip,*/node_modules/*,*/vendor/*,.bundle/*,bin/*,.git/*
+set wildignore=*/doc/*,*/tmp/*,*.o,*.so,*.a,*.swp,*.zip,*/node_modules/*,*/vendor/*,.bundle/*,bin/*,.git/*,*.pyc
" ctrlp ignore all stuff in the .gitignore
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
let g:ctrlp_working_path_mode = 'rw'
let g:ctrlp_mruf_case_sensitive = 0
+
+nnoremap <leader>p :CtrlPTag<CR>
" }}}
" quick-scope {{{
@@ -280,3 +296,11 @@ let g:ctrlp_mruf_case_sensitive = 0
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)
" }}}
+
+vnoremap <leader>c y:call system("xclip -selection clipboard", getreg("\""))<CR>
+nnoremap <leader>v :call setreg("\"", system("xclip -selection clipboard -o"))<CR>p
+
+let g:c_formatter_42_format_on_save = 0
+
+let g:gutentags_ctags_exclude = ['doc/*', 'Makefile']
+" let g:gutentags_ctags_exclude_wildignore = 1
diff --git a/.xinitrc b/.xinitrc
index f90f4b5..6a626a7 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,5 +1,8 @@
# xinput disable 'ETPS/2 Elantech Touchpad' &
+
+echo 'Starting redshift'
redshift -c /home/charles/.config/redshift.conf &
+echo 'Starting dunst'
dunst &
xset r rate 300 40
exec xmonad
diff --git a/.zsh_aliases b/.zsh_aliases
index 1d541dc..0464fdb 100644
--- a/.zsh_aliases
+++ b/.zsh_aliases
@@ -26,13 +26,13 @@ alias lla="ls -alh"
alias lss="ls -Ssh"
# tree
-alias tree='tree -FC'
+alias tree='tree -FCA'
alias t='tree'
alias ta='tree -a'
alias t1='tree -L 1'
alias t2='tree -L 2'
alias t3='tree -L 3'
-# alias ti="tree | grep -v -E '*.pyc'"
+alias ti="tree --matchdirs -I __pycache__ -I node_modules -I '*.o'"
# man
alias ma="man"
@@ -74,12 +74,17 @@ gpa() {
[ -z "$1" ] && branch=master
git remote | xargs -I{} git push {} "$branch"
}
+gpaf() {
+ branch="$1"
+ [ -z "$1" ] && branch=master
+ git remote | xargs -I{} git push -f {} "$branch"
+}
# lpass (lastpass-cli)
alias lpassp='lpass show --password --clip' # put password in clipboard
# helper to switch between dual and single monitor setup
-alias dual='xrandr --output LVDS1 --primary --left-of VGA1 --output VGA1 --auto'
+alias dual='xrandr --output LVDS1 --primary --left-of VGA1 --output VGA1 --mode 1280x1024'
alias single='xrandr --output VGA1 --off'
# edit config files
@@ -123,8 +128,8 @@ wificonnect() {
# alias mutt='neomutt'
alias ytdl='youtube-dl --output "%(title)s.%(ext)s"'
-alias ytdlp='youtube-dl -i --output "%(playlist_index)s-%(title)s.%(ext)s"'
-alias ytdla='youtube-dl -i -x -f bestaudio/best --output "%(playlist_index)s-%(title)s.%(ext)s"'
+alias ytdlp='youtube-dl --audio-format mp3 -i --output "%(playlist_index)s-%(title)s.%(ext)s"'
+alias ytdla='youtube-dl --audio-format mp3 -i -x -f bestaudio/best --output "%(playlist_index)s-%(title)s.%(ext)s"'
alias qmvdest='qmv --format=do'
@@ -137,3 +142,5 @@ pacman-url() {
grep-kill() {
ps aux | grep "$1" | tr -s ' ' | cut -d ' ' -f 2 | xargs kill
}
+
+alias filter-valgrind="sed -e 's/==[0-9]*==/==/' -e 's/0x[0-9A-F]*//'"
diff --git a/.zshrc b/.zshrc
index cc6bd78..50e737f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -85,7 +85,7 @@ export XDG_DATA_HOME="/home/charles/.data/"
export EDITOR="vim"
export TERM="st-256color"
export MAIL='me@cacharle.xyz'
-export BROWSER='chromium'
+export BROWSER='qutebrowser'
export BROWSERCLI='w3m'
# ignore filetypes in autocomplete
@@ -109,3 +109,9 @@ export GPG_TTY=$(tty) # fixing gpg fatal error about tty
export MINISHELL_TEST_BONUS=yes
export MINISHELL_TEST_PAGER=vim
+export MINISHELL_TEST_FLAGS=-DMINISHELL_TEST
+
+# Added by c_formatter_42
+export PATH="$PATH:/home/charles/git/c_formatter_42"
+
+export MINIKUBE_IN_STYLE=false
diff --git a/applications/mutt.desktop b/applications/mutt.desktop
new file mode 100644
index 0000000..24d0a48
--- /dev/null
+++ b/applications/mutt.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=Mail client
+Exec=/usr/bin/mutt %u
diff --git a/applications/newsboat.desktop b/applications/newsboat.desktop
new file mode 100644
index 0000000..609bb5a
--- /dev/null
+++ b/applications/newsboat.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=RSS client
+Exec=/usr/bin/newsboat %u
diff --git a/applications/sxiv.desktop b/applications/sxiv.desktop
new file mode 100644
index 0000000..0db2053
--- /dev/null
+++ b/applications/sxiv.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=Image viewer
+Exec=/usr/local/bin/sxiv %u
diff --git a/applications/zathura.desktop b/applications/zathura.desktop
new file mode 100644
index 0000000..8c38677
--- /dev/null
+++ b/applications/zathura.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=PDF reader
+Exec=/usr/bin/zathura %u
diff --git a/bin/bin b/bin/bin
new file mode 120000
index 0000000..4f8476b
--- /dev/null
+++ b/bin/bin
@@ -0,0 +1 @@
+/home/charles/git/dotfiles/bin \ No newline at end of file
diff --git a/bin/project-open b/bin/project-open
index 0dd5d31..955d31d 100755
--- a/bin/project-open
+++ b/bin/project-open
@@ -1,6 +1,7 @@
#!/bin/sh
# shellcheck disable=SC2088
+# (tile does not expand in single quote)
dest=$(
find ~/git -mindepth 1 -maxdepth 1 -printf '%A@\t%f\n' |
sort -r |
@@ -15,7 +16,7 @@ dest_path="$HOME/git/$dest"
if cd "$dest_path" 2> /dev/null
then
touch "$dest_path"
- st
+ exec st
else
while [ -z "$choice" ]
do
@@ -27,16 +28,25 @@ else
mkdir -p "$dest_path"
cd "$dest_path" || exit 1
git init
+ exec st
;;
+
"clone")
- url="$(echo '' | dmenu -p "Entry repository url: ")"
- notify-send "Cloning $url to $dest_path"
- git clone --recursive "$url" "$dest_path" ||
- (notify-send -u critical "Clone failed"; exit 1)
- cd "$dest_path" || exit 1
+ while [ -z "$remote_choice" ]
+ do
+ remote_choice=$(printf 'github.com\ncacharle.xyz\nother' | dmenu -p "Remote location")
+ done
+ case "$remote_choice" in
+ "github.com") prefix='git@github.com:cacharle/' ;;
+ "cacharle.xyz") prefix='git@cacharle.xyz:/srv/git/' ;;
+ "other") ;;
+ esac
+ url="$prefix$(echo "$dest" | dmenu -p "Enter repository url: $prefix")"
+ st -e /bin/sh -c "git clone --recursive '$url' '$dest_path' && cd '$dest_path' && exec $SHELL" ||
+ notify-send -u critical "Could not clone $url in $dest_path" && exit 1
;;
+
"cancel") exit ;;
*) exit 1 ;;
esac
- st
fi
diff --git a/bin/tag-music b/bin/tag-music
index 17d6aac..e801132 100755
--- a/bin/tag-music
+++ b/bin/tag-music
@@ -16,33 +16,17 @@ do
for song_file in "$album_dir"/*
do
[ ! -f "$song_file" ] && continue
- song="$(basename "$song_file" | cut -d '.' -f 1)"
- # echo "$artist"
- # echo "$album"
- # echo "$song"
- case "$song_file" in
- *.ogg)
- ;;
- *.opus)
- echo "OPUS: $song_file"
- echo "Title=$song
-Artist=$artist
-Album=$album
-Track=
-Total=
-Date=
-Genre=
-Comment=" | opustags -i -S "$song_file"
- ;;
- *.mp3)
- id3tag --artist "$artist" --album "$album" --song "$song" "$songfile"
- ;;
- *.m4a)
- id3tag --artist "$artist" --album "$album" --song "$song" "$songfile"
- ;;
- *)
- ;;
- esac
+ song="$(basename "$song_file" | rev | cut -d '.' -f 2- | rev)"
+ # echo $song_file
+ track=0
+ if expr "$song" : "[0-9][0-9]*\-.*" > /dev/null
+ then
+ track="$(echo "$song" | cut -d '-' -f 1)"
+ song="$(echo "$song" | cut -d '-' -f 2-)"
+ fi
+ # echo $track $song
+ echo $song_file
+ taffy --artist "$artist" --album "$album" --title "$song" --track "$track" "$song_file"
done
done
done
diff --git a/install b/install
index 013b9bb..79f9011 100755
--- a/install
+++ b/install
@@ -2,7 +2,9 @@
create_dotfile_link()
{
- ln -svf "$DOTDIR/$1" "$HOME/$2"
+ target="$HOME/$2"
+ mkdir -vp "$(dirname "$target")"
+ ln -svf "$DOTDIR/$1" "$target"
}
create_dotfile_link_same()
@@ -22,10 +24,8 @@ create_dotfile_link_same .zshrc
create_dotfile_link_same .bashrc
create_dotfile_link_same .vimrc
create_dotfile_link_same .pluggins.vim
-mkdir -p "$HOME/.vim/plugin"
create_dotfile_link grep.vim .vim/plugin/grep.vim
-mkdir -p "$HOME/.xmonad"
create_dotfile_link xmonad.hs .xmonad/xmonad.hs
create_dotfile_link_same .gdbinit
@@ -36,18 +36,22 @@ create_dotfile_link_same .mailcap
create_dotfile_link_same .xinitrc
create_dotfile_link_same .zprofile
-mkdir -p "$HOME/.config"
create_dotfile_link redshift.conf .config/redshift.conf
+create_dotfile_link mimeapps.list .config/mimeapps.list
+create_dotfile_link applications/sxiv.desktop .data/applications/sxiv.desktop
+create_dotfile_link applications/mutt.desktop .data/applications/mutt.desktop
+create_dotfile_link applications/zathura.desktop .data/applications/zathura.desktop
+create_dotfile_link applications/newsboat.desktop .data/applications/newsboat.desktop
-mkdir -p "$HOME/.config/dunst"
create_dotfile_link dunst/dunstrc .config/dunst/dunstrc
-mkdir -p "$HOME/.newsboat"
create_dotfile_link_same .newsboat/config
#create_dotfile_link_same .newsboat/urls
# create_dotfile_link_same slock/config.def.h
+create_dotfile_link qutebrowser/config.py .config/qutebrowser/config.py
+
ln -sv "$DOTDIR/bin" "$HOME/bin"
###############################################################################
diff --git a/mimeapps.list b/mimeapps.list
new file mode 100644
index 0000000..49a184b
--- /dev/null
+++ b/mimeapps.list
@@ -0,0 +1,25 @@
+[Default Applications]
+
+# from: https://git.lukesmith.xyz/dotfiles/file/.config/mimeapps.list
+
+# xdg-open will use these settings to determine how to open filetypes.
+# These .desktop entries can also be seen and changed in ~/.local/share/applications/
+
+# text/x-shellscript=text.desktop;
+# x-scheme-handler/magnet=torrent.desktop;
+# application/x-bittorrent=torrent.desktop;
+x-scheme-handler/mailto=mail.desktop;
+# text/plain=text.desktop;
+application/postscript=zathura.desktop;
+application/pdf=zathura.desktop;
+
+image/png=sxiv.desktop;
+image/jpeg=sxiv.desktop;
+image/gif=sxiv.desktop;
+image/svg+xml=sxiv.desktop;
+
+application/rss+xml=newsboat.desktop
+
+video/x-matroska=mpv.desktop
+# x-scheme-handler/lbry=lbry.desktop
+# inode/directory=file.desktop
diff --git a/qutebrowser/config.py b/qutebrowser/config.py
new file mode 100644
index 0000000..6ab0895
--- /dev/null
+++ b/qutebrowser/config.py
@@ -0,0 +1,254 @@
+from qutebrowser.api import interceptor
+
+# Youtueb ad blocking
+def filter_yt(info: interceptor.Request):
+ url = info.request_url
+ if (
+ url.host() == 'www.youtube.com'
+ and url.path() == '/get_video_info'
+ and '&adformat=' in url.query()
+ ):
+ info.block()
+
+interceptor.register(filter_yt)
+
+c.aliases = {
+ 'q': 'close',
+ 'sc': 'config-source'
+}
+
+c.url.start_pages = ['https://searx.cacharle.xyz']
+c.url.searchengines = {
+ 'DEFAULT': 'https://searx.cacharle.xyz?q={}',
+ 'd': 'https://duckduckgo.com/?q={}',
+ 'g': 'https://google.com/?q={}',
+ 'y': 'https://www.youtube.com/results?search_query={}'
+}
+
+c.fonts.default_family = 'Fira Mono'
+c.fonts.hints = 'bold 11pt default_family'
+
+c.hints.chars = 'asdfghjkl;'
+
+# c.statusbar.show = 'in-mode'
+
+c.editor.command = [
+ '/usr/local/bin/st', '-e',
+ '/usr/bin/vim', '{file}', '+{line}', '-c', 'startinsert!'
+]
+
+c.messages.timeout = 4000
+
+config.bind(';v', 'hint links spawn /usr/bin/mpv {hint-url} ;;'
+ 'message-info "opening in video player"')
+
+config.bind('<Ctrl-J>', 'completion-item-focus next', 'command')
+config.bind('<Ctrl-K>', 'completion-item-focus prev', 'command')
+
+# c.content.proxy = 'socks://localhost:9050/'
+
+# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
+# Base16 qutebrowser template by theova
+# Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub)
+base00 = "#002b36"
+base01 = "#073642"
+base02 = "#586e75"
+base03 = "#657b83"
+base04 = "#839496"
+base05 = "#93a1a1"
+base06 = "#eee8d5"
+base07 = "#fdf6e3"
+base08 = "#dc322f"
+base09 = "#cb4b16"
+base0A = "#b58900"
+base0B = "#859900"
+base0C = "#2aa198"
+base0D = "#268bd2"
+base0E = "#6c71c4"
+base0F = "#d33682"
+# set qutebrowser colors
+# Text color of the completion widget. May be a single color to use for
+# all columns or a list of three colors, one for each column.
+c.colors.completion.fg = base05
+# Background color of the completion widget for odd rows.
+c.colors.completion.odd.bg = base01
+# Background color of the completion widget for even rows.
+c.colors.completion.even.bg = base00
+# Foreground color of completion widget category headers.
+c.colors.completion.category.fg = base0A
+# Background color of the completion widget category headers.
+c.colors.completion.category.bg = base00
+# Top border color of the completion widget category headers.
+c.colors.completion.category.border.top = base00
+# Bottom border color of the completion widget category headers.
+c.colors.completion.category.border.bottom = base00
+# Foreground color of the selected completion item.
+c.colors.completion.item.selected.fg = base05
+# Background color of the selected completion item.
+c.colors.completion.item.selected.bg = base02
+# Top border color of the selected completion item.
+c.colors.completion.item.selected.border.top = base02
+# Bottom border color of the selected completion item.
+c.colors.completion.item.selected.border.bottom = base02
+# Foreground color of the matched text in the selected completion item.
+c.colors.completion.item.selected.match.fg = base0B
+# Foreground color of the matched text in the completion.
+c.colors.completion.match.fg = base0B
+# Color of the scrollbar handle in the completion view.
+c.colors.completion.scrollbar.fg = base05
+# Color of the scrollbar in the completion view.
+c.colors.completion.scrollbar.bg = base00
+# Background color of disabled items in the context menu.
+c.colors.contextmenu.disabled.bg = base01
+# Foreground color of disabled items in the context menu.
+c.colors.contextmenu.disabled.fg = base04
+# Background color of the context menu. If set to null, the Qt default is used.
+c.colors.contextmenu.menu.bg = base00
+# Foreground color of the context menu. If set to null, the Qt default is used.
+c.colors.contextmenu.menu.fg = base05
+# Background color of the context menu’s selected item. If set to null, the Qt default is used.
+c.colors.contextmenu.selected.bg = base02
+#Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
+c.colors.contextmenu.selected.fg = base05
+# Background color for the download bar.
+c.colors.downloads.bar.bg = base00
+# Color gradient start for download text.
+c.colors.downloads.start.fg = base00
+# Color gradient start for download backgrounds.
+c.colors.downloads.start.bg = base0D
+# Color gradient end for download text.
+c.colors.downloads.stop.fg = base00
+# Color gradient stop for download backgrounds.
+c.colors.downloads.stop.bg = base0C
+# Foreground color for downloads with errors.
+c.colors.downloads.error.fg = base08
+# Font color for hints.
+c.colors.hints.fg = base00
+# Background color for hints. Note that you can use a `rgba(...)` value
+# for transparency.
+c.colors.hints.bg = base0A
+# Font color for the matched part of hints.
+c.colors.hints.match.fg = base05
+# Text color for the keyhint widget.
+c.colors.keyhint.fg = base05
+# Highlight color for keys to complete the current keychain.
+c.colors.keyhint.suffix.fg = base05
+# Background color of the keyhint widget.
+c.colors.keyhint.bg = base00
+# Foreground color of an error message.
+c.colors.messages.error.fg = base00
+# Background color of an error message.
+c.colors.messages.error.bg = base08
+# Border color of an error message.
+c.colors.messages.error.border = base08
+# Foreground color of a warning message.
+c.colors.messages.warning.fg = base00
+# Background color of a warning message.
+c.colors.messages.warning.bg = base0E
+# Border color of a warning message.
+c.colors.messages.warning.border = base0E
+# Foreground color of an info message.
+c.colors.messages.info.fg = base05
+# Background color of an info message.
+c.colors.messages.info.bg = base00
+# Border color of an info message.
+c.colors.messages.info.border = base00
+# Foreground color for prompts.
+c.colors.prompts.fg = base05
+# Border used around UI elements in prompts.
+c.colors.prompts.border = base00
+# Background color for prompts.
+c.colors.prompts.bg = base00
+# Background color for the selected item in filename prompts.
+c.colors.prompts.selected.bg = base02
+# Foreground color of the statusbar.
+c.colors.statusbar.normal.fg = base0B
+# Background color of the statusbar.
+c.colors.statusbar.normal.bg = base00
+# Foreground color of the statusbar in insert mode.
+c.colors.statusbar.insert.fg = base00
+# Background color of the statusbar in insert mode.
+c.colors.statusbar.insert.bg = base0D
+# Foreground color of the statusbar in passthrough mode.
+c.colors.statusbar.passthrough.fg = base00
+# Background color of the statusbar in passthrough mode.
+c.colors.statusbar.passthrough.bg = base0C
+# Foreground color of the statusbar in private browsing mode.
+c.colors.statusbar.private.fg = base00
+# Background color of the statusbar in private browsing mode.
+c.colors.statusbar.private.bg = base01
+# Foreground color of the statusbar in command mode.
+c.colors.statusbar.command.fg = base05
+# Background color of the statusbar in command mode.
+c.colors.statusbar.command.bg = base00
+# Foreground color of the statusbar in private browsing + command mode.
+c.colors.statusbar.command.private.fg = base05
+# Background color of the statusbar in private browsing + command mode.
+c.colors.statusbar.command.private.bg = base00
+# Foreground color of the statusbar in caret mode.
+c.colors.statusbar.caret.fg = base00
+# Background color of the statusbar in caret mode.
+c.colors.statusbar.caret.bg = base0E
+# Foreground color of the statusbar in caret mode with a selection.
+c.colors.statusbar.caret.selection.fg = base00
+# Background color of the statusbar in caret mode with a selection.
+c.colors.statusbar.caret.selection.bg = base0D
+# Background color of the progress bar.
+c.colors.statusbar.progress.bg = base0D
+# Default foreground color of the URL in the statusbar.
+c.colors.statusbar.url.fg = base05
+# Foreground color of the URL in the statusbar on error.
+c.colors.statusbar.url.error.fg = base08
+# Foreground color of the URL in the statusbar for hovered links.
+c.colors.statusbar.url.hover.fg = base05
+# Foreground color of the URL in the statusbar on successful load
+# (http).
+c.colors.statusbar.url.success.http.fg = base0C
+# Foreground color of the URL in the statusbar on successful load
+# (https).
+c.colors.statusbar.url.success.https.fg = base0B
+# Foreground color of the URL in the statusbar when there's a warning.
+c.colors.statusbar.url.warn.fg = base0E
+# Background color of the tab bar.
+c.colors.tabs.bar.bg = base00
+# Color gradient start for the tab indicator.
+c.colors.tabs.indicator.start = base0D
+# Color gradient end for the tab indicator.
+c.colors.tabs.indicator.stop = base0C
+# Color for the tab indicator on errors.
+c.colors.tabs.indicator.error = base08
+# Foreground color of unselected odd tabs.
+c.colors.tabs.odd.fg = base05
+# Background color of unselected odd tabs.
+c.colors.tabs.odd.bg = base01
+# Foreground color of unselected even tabs.
+c.colors.tabs.even.fg = base05
+# Background color of unselected even tabs.
+c.colors.tabs.even.bg = base00
+# Background color of pinned unselected even tabs.
+c.colors.tabs.pinned.even.bg = base0C
+# Foreground color of pinned unselected even tabs.
+c.colors.tabs.pinned.even.fg = base07
+# Background color of pinned unselected odd tabs.
+c.colors.tabs.pinned.odd.bg = base0B
+# Foreground color of pinned unselected odd tabs.
+c.colors.tabs.pinned.odd.fg = base07
+# Background color of pinned selected even tabs.
+c.colors.tabs.pinned.selected.even.bg = base02
+# Foreground color of pinned selected even tabs.
+c.colors.tabs.pinned.selected.even.fg = base05
+# Background color of pinned selected odd tabs.
+c.colors.tabs.pinned.selected.odd.bg = base02
+# Foreground color of pinned selected odd tabs.
+c.colors.tabs.pinned.selected.odd.fg = base05
+# Foreground color of selected odd tabs.
+c.colors.tabs.selected.odd.fg = base05
+# Background color of selected odd tabs.
+c.colors.tabs.selected.odd.bg = base02
+# Foreground color of selected even tabs.
+c.colors.tabs.selected.even.fg = base05
+# Background color of selected even tabs.
+c.colors.tabs.selected.even.bg = base02
+# Background color for webpages if unset (or empty to use the theme's
+# color).
+# c.colors.webpage.bg = base00