From: Pass Automated Testing Suite Date: Wed, 20 Oct 2021 20:55:39 +0000 (+0200) Subject: style: replace colorscheme from koehler/dracula to nord X-Git-Url: https://git.beaudet.xyz/?a=commitdiff_plain;h=edc65ca58a17fe31d7729b9f08d1521694d21060;p=dot.git style: replace colorscheme from koehler/dracula to nord Other affected files are nvim/init.lua and tmux.conf --- diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 0d06624..16f743f 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -6,7 +6,7 @@ env: # x: 10 # y: 4 -background_opacity: 0.9 +background_opacity: 0.90 font: normal: @@ -18,70 +18,63 @@ font: italic: family: Fira Code Nerd Font style: Italic - size: 6 + size: 8 -shell: - program: /usr/bin/bash - args: - - -l - - -c - - "ta" -# import: -# - ~/.config/alacritty/dracula.yml +# shell: +# program: /usr/bin/bash +# args: +# - -l +# - -c +# - "ta" colors: primary: - background: '0x282a36' - foreground: '0xf8f8f2' + background: '#2e3440' + foreground: '#d8dee9' + dim_foreground: '#a5abb6' cursor: - text: CellBackground - cursor: CellForeground + text: '#2e3440' + cursor: '#d8dee9' vi_mode_cursor: - text: CellBackground - cursor: CellForeground + text: '#2e3440' + cursor: '#d8dee9' + selection: + text: CellForeground + background: '#4c566a' search: matches: - foreground: '0x44475a' - background: '0x50fa7b' - focused_match: - foreground: '0x44475a' - background: '0xffb86c' + foreground: CellBackground + background: '#88c0d0' bar: - background: '0x282a36' - foreground: '0xf8f8f2' - line_indicator: - foreground: None - background: None - selection: - text: CellForeground - background: '0x44475a' + background: '#434c5e' + foreground: '#d8dee9' normal: - black: '0x000000' - red: '0xff5555' - green: '0x50fa7b' - yellow: '0xf1fa8c' - blue: '0xbd93f9' - magenta: '0xff79c6' - cyan: '0x8be9fd' - white: '0xbfbfbf' + black: '#3b4252' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#88c0d0' + white: '#e5e9f0' bright: - black: '0x4d4d4d' - red: '0xff6e67' - green: '0x5af78e' - yellow: '0xf4f99d' - blue: '0xcaa9fa' - magenta: '0xff92d0' - cyan: '0x9aedfe' - white: '0xe6e6e6' + black: '#4c566a' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#8fbcbb' + white: '#eceff4' dim: - black: '0x14151b' - red: '0xff2222' - green: '0x1ef956' - yellow: '0xebf85b' - blue: '0x4d5b86' - magenta: '0xff46b0' - cyan: '0x59dffc' - white: '0xe6e6d1' + black: '#373e4d' + red: '#94545d' + green: '#809575' + yellow: '#b29e75' + blue: '#68809a' + magenta: '#8c738c' + cyan: '#6d96a5' + white: '#aeb3bb' key_bindings: - { key: Minus, mods: Control, action: DecreaseFontSize } diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index e7a515d..df8e2c8 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -110,8 +110,8 @@ config.set('content.javascript.enabled', True, 'qute://*/*') config.set('content.javascript.enabled', True, '*://duckduckgo.com/*') -config.set('url.start_pages', 'https://duckduckgo.com') -config.bind('', 'config-cycle content.user_stylesheets "css/darculized-all-sites.css" "css/darculized-all-sites-lighter.css" ""') +config.set('url.start_pages', 'https://lite.duckduckgo.com/lite') +# config.bind('', 'config-cycle content.user_stylesheets "css/darculized-all-sites.css" "css/darculized-all-sites-lighter.css" ""') # config.set('auto_save.session', True) c.auto_save.session = True @@ -123,7 +123,7 @@ c.auto_save.session = True # `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`: # Same as `{column}`, but starting from index 0. # Type: ShellCommand -c.editor.command = ['alacritty', '-e', 'vim', '-f', '{file}', '-c', 'normal {line}G{column0}l'] +c.editor.command = ['alacritty', '-e', 'nvim', '-f', '{file}', '-c', 'normal {line}G{column0}l'] # Position of the tab bar. # Type: Position @@ -150,302 +150,304 @@ config.bind(',m', 'spawn umpv {url}') config.bind(';M', 'hint --rapid links spawn umpv {hint-url}') -# Dracula theme -def blood(c, options = {}): - palette = { - 'background': '#282a36', - 'background-alt': '#282a36', - 'background-attention': '#181920', - 'border': '#282a36', - 'current-line': '#44475a', - 'selection': '#44475a', - 'foreground': '#f8f8f2', - 'foreground-alt': '#e0e0e0', - 'foreground-attention': '#ffffff', - 'comment': '#6272a4', - 'cyan': '#8be9fd', - 'green': '#50fa7b', - 'orange': '#ffb86c', - 'pink': '#ff79c6', - 'purple': '#bd93f9', - 'red': '#ff5555', - 'yellow': '#f1fa8c' - } +## Dracula theme +#def blood(c, options = {}): +# palette = { +# 'background': '#282a36', +# 'background-alt': '#282a36', +# 'background-attention': '#181920', +# 'border': '#282a36', +# 'current-line': '#44475a', +# 'selection': '#44475a', +# 'foreground': '#f8f8f2', +# 'foreground-alt': '#e0e0e0', +# 'foreground-attention': '#ffffff', +# 'comment': '#6272a4', +# 'cyan': '#8be9fd', +# 'green': '#50fa7b', +# 'orange': '#ffb86c', +# 'pink': '#ff79c6', +# 'purple': '#bd93f9', +# 'red': '#ff5555', +# 'yellow': '#f1fa8c' +# } - spacing = options.get('spacing', { - 'vertical': 5, - 'horizontal': 5 - }) - - padding = options.get('padding', { - 'top': spacing['vertical'], - 'right': spacing['horizontal'], - 'bottom': spacing['vertical'], - 'left': spacing['horizontal'] - }) +# spacing = options.get('spacing', { +# 'vertical': 5, +# 'horizontal': 5 +# }) + +# padding = options.get('padding', { +# 'top': spacing['vertical'], +# 'right': spacing['horizontal'], +# 'bottom': spacing['vertical'], +# 'left': spacing['horizontal'] +# }) - ## Background color of the completion widget category headers. - c.colors.completion.category.bg = palette['background'] +# ## Background color of the completion widget category headers. +# c.colors.completion.category.bg = palette['background'] - ## Bottom border color of the completion widget category headers. - c.colors.completion.category.border.bottom = palette['border'] +# ## Bottom border color of the completion widget category headers. +# c.colors.completion.category.border.bottom = palette['border'] - ## Top border color of the completion widget category headers. - c.colors.completion.category.border.top = palette['border'] +# ## Top border color of the completion widget category headers. +# c.colors.completion.category.border.top = palette['border'] - ## Foreground color of completion widget category headers. - c.colors.completion.category.fg = palette['foreground'] +# ## Foreground color of completion widget category headers. +# c.colors.completion.category.fg = palette['foreground'] - ## Background color of the completion widget for even rows. - c.colors.completion.even.bg = palette['background'] +# ## Background color of the completion widget for even rows. +# c.colors.completion.even.bg = palette['background'] - ## Background color of the completion widget for odd rows. - c.colors.completion.odd.bg = palette['background-alt'] +# ## Background color of the completion widget for odd rows. +# c.colors.completion.odd.bg = palette['background-alt'] - ## Text color of the completion widget. - c.colors.completion.fg = palette['foreground'] +# ## Text color of the completion widget. +# c.colors.completion.fg = palette['foreground'] - ## Background color of the selected completion item. - c.colors.completion.item.selected.bg = palette['selection'] +# ## Background color of the selected completion item. +# c.colors.completion.item.selected.bg = palette['selection'] - ## Bottom border color of the selected completion item. - c.colors.completion.item.selected.border.bottom = palette['selection'] +# ## Bottom border color of the selected completion item. +# c.colors.completion.item.selected.border.bottom = palette['selection'] - ## Top border color of the completion widget category headers. - c.colors.completion.item.selected.border.top = palette['selection'] +# ## Top border color of the completion widget category headers. +# c.colors.completion.item.selected.border.top = palette['selection'] - ## Foreground color of the selected completion item. - c.colors.completion.item.selected.fg = palette['foreground'] +# ## Foreground color of the selected completion item. +# c.colors.completion.item.selected.fg = palette['foreground'] - ## Foreground color of the matched text in the completion. - c.colors.completion.match.fg = palette['orange'] +# ## Foreground color of the matched text in the completion. +# c.colors.completion.match.fg = palette['orange'] - ## Color of the scrollbar in completion view - c.colors.completion.scrollbar.bg = palette['background'] +# ## Color of the scrollbar in completion view +# c.colors.completion.scrollbar.bg = palette['background'] - ## Color of the scrollbar handle in completion view. - c.colors.completion.scrollbar.fg = palette['foreground'] +# ## Color of the scrollbar handle in completion view. +# c.colors.completion.scrollbar.fg = palette['foreground'] - ## Background color for the download bar. - c.colors.downloads.bar.bg = palette['background'] +# ## Background color for the download bar. +# c.colors.downloads.bar.bg = palette['background'] - ## Background color for downloads with errors. - c.colors.downloads.error.bg = palette['background'] +# ## Background color for downloads with errors. +# c.colors.downloads.error.bg = palette['background'] - ## Foreground color for downloads with errors. - c.colors.downloads.error.fg = palette['red'] +# ## Foreground color for downloads with errors. +# c.colors.downloads.error.fg = palette['red'] - ## Color gradient stop for download backgrounds. - c.colors.downloads.stop.bg = palette['background'] +# ## Color gradient stop for download backgrounds. +# c.colors.downloads.stop.bg = palette['background'] - ## Color gradient interpolation system for download backgrounds. - ## Type: ColorSystem - ## Valid values: - ## - rgb: Interpolate in the RGB color system. - ## - hsv: Interpolate in the HSV color system. - ## - hsl: Interpolate in the HSL color system. - ## - none: Don't show a gradient. - c.colors.downloads.system.bg = 'none' +# ## Color gradient interpolation system for download backgrounds. +# ## Type: ColorSystem +# ## Valid values: +# ## - rgb: Interpolate in the RGB color system. +# ## - hsv: Interpolate in the HSV color system. +# ## - hsl: Interpolate in the HSL color system. +# ## - none: Don't show a gradient. +# c.colors.downloads.system.bg = 'none' - ## Background color for hints. Note that you can use a `rgba(...)` value - ## for transparency. - c.colors.hints.bg = palette['background'] +# ## Background color for hints. Note that you can use a `rgba(...)` value +# ## for transparency. +# c.colors.hints.bg = palette['background'] - ## Font color for hints. - c.colors.hints.fg = palette['purple'] +# ## Font color for hints. +# c.colors.hints.fg = palette['purple'] - ## Hints - c.hints.border = '1px solid ' + palette['background-alt'] +# ## Hints +# c.hints.border = '1px solid ' + palette['background-alt'] - ## Font color for the matched part of hints. - c.colors.hints.match.fg = palette['foreground-alt'] +# ## Font color for the matched part of hints. +# c.colors.hints.match.fg = palette['foreground-alt'] - ## Background color of the keyhint widget. - c.colors.keyhint.bg = palette['background'] +# ## Background color of the keyhint widget. +# c.colors.keyhint.bg = palette['background'] - ## Text color for the keyhint widget. - c.colors.keyhint.fg = palette['purple'] +# ## Text color for the keyhint widget. +# c.colors.keyhint.fg = palette['purple'] - ## Highlight color for keys to complete the current keychain. - c.colors.keyhint.suffix.fg = palette['selection'] +# ## Highlight color for keys to complete the current keychain. +# c.colors.keyhint.suffix.fg = palette['selection'] - ## Background color of an error message. - c.colors.messages.error.bg = palette['background'] +# ## Background color of an error message. +# c.colors.messages.error.bg = palette['background'] - ## Border color of an error message. - c.colors.messages.error.border = palette['background-alt'] +# ## Border color of an error message. +# c.colors.messages.error.border = palette['background-alt'] - ## Foreground color of an error message. - c.colors.messages.error.fg = palette['red'] +# ## Foreground color of an error message. +# c.colors.messages.error.fg = palette['red'] - ## Background color of an info message. - c.colors.messages.info.bg = palette['background'] +# ## Background color of an info message. +# c.colors.messages.info.bg = palette['background'] - ## Border color of an info message. - c.colors.messages.info.border = palette['background-alt'] +# ## Border color of an info message. +# c.colors.messages.info.border = palette['background-alt'] - ## Foreground color an info message. - c.colors.messages.info.fg = palette['comment'] +# ## Foreground color an info message. +# c.colors.messages.info.fg = palette['comment'] - ## Background color of a warning message. - c.colors.messages.warning.bg = palette['background'] +# ## Background color of a warning message. +# c.colors.messages.warning.bg = palette['background'] - ## Border color of a warning message. - c.colors.messages.warning.border = palette['background-alt'] +# ## Border color of a warning message. +# c.colors.messages.warning.border = palette['background-alt'] - ## Foreground color a warning message. - c.colors.messages.warning.fg = palette['red'] +# ## Foreground color a warning message. +# c.colors.messages.warning.fg = palette['red'] - ## Background color for prompts. - c.colors.prompts.bg = palette['background'] +# ## Background color for prompts. +# c.colors.prompts.bg = palette['background'] - # ## Border used around UI elements in prompts. - c.colors.prompts.border = '1px solid ' + palette['background-alt'] +# # ## Border used around UI elements in prompts. +# c.colors.prompts.border = '1px solid ' + palette['background-alt'] - ## Foreground color for prompts. - c.colors.prompts.fg = palette['cyan'] +# ## Foreground color for prompts. +# c.colors.prompts.fg = palette['cyan'] - ## Background color for the selected item in filename prompts. - c.colors.prompts.selected.bg = palette['selection'] +# ## Background color for the selected item in filename prompts. +# c.colors.prompts.selected.bg = palette['selection'] - ## Background color of the statusbar in caret mode. - c.colors.statusbar.caret.bg = palette['background'] +# ## Background color of the statusbar in caret mode. +# c.colors.statusbar.caret.bg = palette['background'] - ## Foreground color of the statusbar in caret mode. - c.colors.statusbar.caret.fg = palette['orange'] +# ## Foreground color of the statusbar in caret mode. +# c.colors.statusbar.caret.fg = palette['orange'] - ## Background color of the statusbar in caret mode with a selection. - c.colors.statusbar.caret.selection.bg = palette['background'] +# ## Background color of the statusbar in caret mode with a selection. +# c.colors.statusbar.caret.selection.bg = palette['background'] - ## Foreground color of the statusbar in caret mode with a selection. - c.colors.statusbar.caret.selection.fg = palette['orange'] +# ## Foreground color of the statusbar in caret mode with a selection. +# c.colors.statusbar.caret.selection.fg = palette['orange'] - ## Background color of the statusbar in command mode. - c.colors.statusbar.command.bg = palette['background'] +# ## Background color of the statusbar in command mode. +# c.colors.statusbar.command.bg = palette['background'] - ## Foreground color of the statusbar in command mode. - c.colors.statusbar.command.fg = palette['pink'] +# ## Foreground color of the statusbar in command mode. +# c.colors.statusbar.command.fg = palette['pink'] - ## Background color of the statusbar in private browsing + command mode. - c.colors.statusbar.command.private.bg = palette['background'] +# ## Background color of the statusbar in private browsing + command mode. +# c.colors.statusbar.command.private.bg = palette['background'] - ## Foreground color of the statusbar in private browsing + command mode. - c.colors.statusbar.command.private.fg = palette['foreground-alt'] +# ## Foreground color of the statusbar in private browsing + command mode. +# c.colors.statusbar.command.private.fg = palette['foreground-alt'] - ## Background color of the statusbar in insert mode. - c.colors.statusbar.insert.bg = palette['background-attention'] +# ## Background color of the statusbar in insert mode. +# c.colors.statusbar.insert.bg = palette['background-attention'] - ## Foreground color of the statusbar in insert mode. - c.colors.statusbar.insert.fg = palette['foreground-attention'] +# ## Foreground color of the statusbar in insert mode. +# c.colors.statusbar.insert.fg = palette['foreground-attention'] - ## Background color of the statusbar. - c.colors.statusbar.normal.bg = palette['background'] +# ## Background color of the statusbar. +# c.colors.statusbar.normal.bg = palette['background'] - ## Foreground color of the statusbar. - c.colors.statusbar.normal.fg = palette['foreground'] +# ## Foreground color of the statusbar. +# c.colors.statusbar.normal.fg = palette['foreground'] - ## Background color of the statusbar in passthrough mode. - c.colors.statusbar.passthrough.bg = palette['background'] +# ## Background color of the statusbar in passthrough mode. +# c.colors.statusbar.passthrough.bg = palette['background'] - ## Foreground color of the statusbar in passthrough mode. - c.colors.statusbar.passthrough.fg = palette['orange'] +# ## Foreground color of the statusbar in passthrough mode. +# c.colors.statusbar.passthrough.fg = palette['orange'] - ## Background color of the statusbar in private browsing mode. - c.colors.statusbar.private.bg = palette['background-alt'] +# ## Background color of the statusbar in private browsing mode. +# c.colors.statusbar.private.bg = palette['background-alt'] - ## Foreground color of the statusbar in private browsing mode. - c.colors.statusbar.private.fg = palette['foreground-alt'] +# ## Foreground color of the statusbar in private browsing mode. +# c.colors.statusbar.private.fg = palette['foreground-alt'] - ## Background color of the progress bar. - c.colors.statusbar.progress.bg = palette['background'] +# ## Background color of the progress bar. +# c.colors.statusbar.progress.bg = palette['background'] - ## Foreground color of the URL in the statusbar on error. - c.colors.statusbar.url.error.fg = palette['red'] +# ## Foreground color of the URL in the statusbar on error. +# c.colors.statusbar.url.error.fg = palette['red'] - ## Default foreground color of the URL in the statusbar. - c.colors.statusbar.url.fg = palette['foreground'] +# ## Default foreground color of the URL in the statusbar. +# c.colors.statusbar.url.fg = palette['foreground'] - ## Foreground color of the URL in the statusbar for hovered links. - c.colors.statusbar.url.hover.fg = palette['cyan'] +# ## Foreground color of the URL in the statusbar for hovered links. +# c.colors.statusbar.url.hover.fg = palette['cyan'] - ## Foreground color of the URL in the statusbar on successful load - c.colors.statusbar.url.success.http.fg = palette['green'] +# ## Foreground color of the URL in the statusbar on successful load +# c.colors.statusbar.url.success.http.fg = palette['green'] - ## Foreground color of the URL in the statusbar on successful load - c.colors.statusbar.url.success.https.fg = palette['green'] +# ## Foreground color of the URL in the statusbar on successful load +# c.colors.statusbar.url.success.https.fg = palette['green'] - ## Foreground color of the URL in the statusbar when there's a warning. - c.colors.statusbar.url.warn.fg = palette['yellow'] +# ## Foreground color of the URL in the statusbar when there's a warning. +# c.colors.statusbar.url.warn.fg = palette['yellow'] - ## Status bar padding - c.statusbar.padding = padding +# ## Status bar padding +# c.statusbar.padding = padding - ## Background color of the tab bar. - ## Type: QtColor - c.colors.tabs.bar.bg = palette['selection'] +# ## Background color of the tab bar. +# ## Type: QtColor +# c.colors.tabs.bar.bg = palette['selection'] - ## Background color of unselected even tabs. - ## Type: QtColor - c.colors.tabs.even.bg = palette['selection'] +# ## Background color of unselected even tabs. +# ## Type: QtColor +# c.colors.tabs.even.bg = palette['selection'] - ## Foreground color of unselected even tabs. - ## Type: QtColor - c.colors.tabs.even.fg = palette['foreground'] +# ## Foreground color of unselected even tabs. +# ## Type: QtColor +# c.colors.tabs.even.fg = palette['foreground'] - ## Color for the tab indicator on errors. - ## Type: QtColor - c.colors.tabs.indicator.error = palette['red'] +# ## Color for the tab indicator on errors. +# ## Type: QtColor +# c.colors.tabs.indicator.error = palette['red'] - ## Color gradient start for the tab indicator. - ## Type: QtColor - c.colors.tabs.indicator.start = palette['orange'] +# ## Color gradient start for the tab indicator. +# ## Type: QtColor +# c.colors.tabs.indicator.start = palette['orange'] - ## Color gradient end for the tab indicator. - ## Type: QtColor - c.colors.tabs.indicator.stop = palette['green'] +# ## Color gradient end for the tab indicator. +# ## Type: QtColor +# c.colors.tabs.indicator.stop = palette['green'] - ## Color gradient interpolation system for the tab indicator. - ## Type: ColorSystem - ## Valid values: - ## - rgb: Interpolate in the RGB color system. - ## - hsv: Interpolate in the HSV color system. - ## - hsl: Interpolate in the HSL color system. - ## - none: Don't show a gradient. - c.colors.tabs.indicator.system = 'none' +# ## Color gradient interpolation system for the tab indicator. +# ## Type: ColorSystem +# ## Valid values: +# ## - rgb: Interpolate in the RGB color system. +# ## - hsv: Interpolate in the HSV color system. +# ## - hsl: Interpolate in the HSL color system. +# ## - none: Don't show a gradient. +# c.colors.tabs.indicator.system = 'none' - ## Background color of unselected odd tabs. - ## Type: QtColor - c.colors.tabs.odd.bg = palette['selection'] +# ## Background color of unselected odd tabs. +# ## Type: QtColor +# c.colors.tabs.odd.bg = palette['selection'] - ## Foreground color of unselected odd tabs. - ## Type: QtColor - c.colors.tabs.odd.fg = palette['foreground'] +# ## Foreground color of unselected odd tabs. +# ## Type: QtColor +# c.colors.tabs.odd.fg = palette['foreground'] - # ## Background color of selected even tabs. - # ## Type: QtColor - c.colors.tabs.selected.even.bg = palette['background'] +# # ## Background color of selected even tabs. +# # ## Type: QtColor +# c.colors.tabs.selected.even.bg = palette['background'] - # ## Foreground color of selected even tabs. - # ## Type: QtColor - c.colors.tabs.selected.even.fg = palette['foreground'] +# # ## Foreground color of selected even tabs. +# # ## Type: QtColor +# c.colors.tabs.selected.even.fg = palette['foreground'] - # ## Background color of selected odd tabs. - # ## Type: QtColor - c.colors.tabs.selected.odd.bg = palette['background'] +# # ## Background color of selected odd tabs. +# # ## Type: QtColor +# c.colors.tabs.selected.odd.bg = palette['background'] - # ## Foreground color of selected odd tabs. - # ## Type: QtColor - c.colors.tabs.selected.odd.fg = palette['foreground'] +# # ## Foreground color of selected odd tabs. +# # ## Type: QtColor +# c.colors.tabs.selected.odd.fg = palette['foreground'] - ## Tab padding - c.tabs.padding = padding - c.tabs.indicator.width = 1 - c.tabs.favicons.scale = 1 +# ## Tab padding +# c.tabs.padding = padding +# c.tabs.indicator.width = 1 +# c.tabs.favicons.scale = 1 - # Dark mode - #c.colors.webpage.darkmode.enabled = True - #c.colors.webpage.darkmode.algorithm = "lightness-hsl" - c.colors.webpage.bg = "#282a36" - c.content.user_stylesheets = "css/darculized-all-sites.css" +# # Dark mode +# #c.colors.webpage.darkmode.enabled = True +# #c.colors.webpage.darkmode.algorithm = "lightness-hsl" +# c.colors.webpage.bg = "#282a36" +# c.content.user_stylesheets = "css/darculized-all-sites.css" -c = blood(c) +#c = blood(c) + +config.source('nord-qutebrowser.py')