From 21f4bec0c9e5c1bfd6ef5e656af193b04b439e24 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 21 Jun 2021 19:22:55 +0200 Subject: Updated vim and qutebrowser to gruvbox theme --- config/qutebrowser/config.py | 136 ++++++++++++++++++++++++++++++++++++------- config/vim/pluggins.vim | 1 + config/vim/vimrc | 21 +++++-- 3 files changed, 131 insertions(+), 27 deletions(-) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 1d9af27..96ede9b 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -97,207 +97,301 @@ c.downloads.remove_finished = 5000 c.tabs.last_close = 'startpage' + # 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' +# Gruvbox dark, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +base00 = "#1d2021" +base01 = "#3c3836" +base02 = "#504945" +base03 = "#665c54" +base04 = "#bdae93" +base05 = "#d5c4a1" +base06 = "#ebdbb2" +base07 = "#fbf1c7" +base08 = "#fb4934" +base09 = "#fe8019" +base0A = "#fabd2f" +base0B = "#b8bb26" +base0C = "#8ec07c" +base0D = "#83a598" +base0E = "#d3869b" +base0F = "#d65d0e" + # 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 +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. + +#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 = '#222222' + +# Background color for webpages if unset (or empty to use the theme's +# color). +c.colors.webpage.bg = base00 diff --git a/config/vim/pluggins.vim b/config/vim/pluggins.vim index ee8068f..39dcd05 100644 --- a/config/vim/pluggins.vim +++ b/config/vim/pluggins.vim @@ -33,6 +33,7 @@ call plug#begin($XDG_DATA_HOME . '/vim/plugged') " Plug 'joshdick/onedark.vim' " onedark Plug 'dracula/vim', {'as': 'vim'} " dracula Plug 'altercation/vim-colors-solarized' " solarized + Plug 'morhetz/gruvbox' " gruvbox " intresting but not used Plug 'vim-scripts/rfc-syntax' " rfc diff --git a/config/vim/vimrc b/config/vim/vimrc index 8debac1..0e7fc5a 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -84,6 +84,7 @@ set nofoldenable " not folded by default " colorscheme " """"""""""""""" +set background=dark " one {{{ " let g:onedark_terminal_italics=1 " colorscheme onedark @@ -95,18 +96,26 @@ set nofoldenable " not folded by default " silent! colorscheme dracula " }}} " solarized {{{ -set t_Co=16 -let g:solarized_termcolors=16 -let g:solarized_visibility='low' " visibility of invisible chars with set list -set background=dark -silent! colorscheme solarized +" set t_Co=16 +" let g:solarized_termcolors=16 +" let g:solarized_visibility='low' " visibility of invisible chars with set list +" silent! colorscheme solarized " }}} + +let g:gruvbox_italic=1 +let g:gruvbox_bold=1 +let g:gruvbox_termcolors=256 +let g:gruvbox_contrast_dark='medium' +let g:gruvbox_contrast_light='hard' +let g:gruvbox_invert_selection=0 +colorscheme gruvbox + " lightline {{{ let g:lightline = {} " let g:lightline.colorscheme = 'solarized' " lightline theme to solarized " let g:lightline.colorscheme = 'jellybeans' " lightline theme to onedark let g:lightline = { - \ 'colorscheme': 'solarized', + \ 'colorscheme': 'gruvbox', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] -- cgit