# Value to send in the `Accept-Language` header. Note that the value
# read from JavaScript is always the global value.
# Type: String
-c.content.headers.accept_language = 'en-US,en;q=0.9'
+c.content.headers.accept_language = 'de_DE,de,en_US,en;q=0.9'
# Value to send in the `DNT` header. When this is set to true,
# qutebrowser asks websites to not track your identity. If set to null,
# - bookmarks
# - history
# - filesystem
-c.completion.open_categories = ['searchengines', 'quickmarks', 'bookmarks', 'history', 'filesystem']
+c.completion.open_categories = ['quickmarks', 'bookmarks', 'history', 'searchengines', 'filesystem']
# Where to show the downloaded files.
# Type: VerticalPosition
# Type: Int
c.fonts.web.size.minimum_logical = 7
+c.url.searchengines = {"DEFAULT": "https://duckduckgo.com/?q={}","pkg": "https://packages.gentoo.org/packages/search?q={}","ddg": "https://duckduckgo.com/?q={}","eco": "https://www.ecosia.org/search?method=index&q={}"}
+
# Bindings for normal mode
config.unbind('+')
config.unbind('q')
config.bind('tw1', 'set tabs.width 48')
config.bind('tw2', 'set tabs.width 76')
config.bind('tw3', 'set tabs.width 120')
-config.bind('tw4', 'set tabs.width 160')
-config.bind('tw5', 'set tabs.width 360')
+config.bind('tw4', 'set tabs.width 240')
+config.bind('tw5', 'set tabs.width 320')
config.bind('tw6', 'set tabs.width 420')
config.bind('td', 'set colors.webpage.darkmode.enabled true')
config.bind('tD', 'set colors.webpage.darkmode.enabled false')
config.bind('<Alt+Shift+u>', 'spawn --userscript qute-keepassxc --key 285D16B66B11BD45BFD57B6CB22C3113D0E83104', mode='insert')
# set qutebrowser colors
-config.source('base16-wrapper.py')
+config.source('matugen-wrapper.py')
--- /dev/null
+// ==UserScript==
+// @name Figma Mouse Wheel Speed Fix
+// @namespace https://adam.nels.onl
+// @match https://*
+// @grant none
+// ==/UserScript==
+
+// Mouse wheel scrolling in Figma on Firefox + Linux is unbearably slow.
+//
+// This script catches all mouse wheel events on the main canvas,
+// then re-fires them with the deltaX/deltaY increased by a multiplier.
+//
+// - Adam Nelson <adam@nels.onl>
+
+const MULTIPLIER_X = 30;
+const MULTIPLIER_Y = 30;
+
+function speedUp(ev) {
+ if (!ev.isTrusted) return true; // Prevent recursion.
+
+ const { clientX, clientY, screenX, screenY, shiftKey, ctrlKey, altKey } = ev;
+ const newEv = new WheelEvent('wheel', {
+ bubbles: true,
+ cancelable: true,
+ view: window,
+ clientX,
+ clientY,
+ screenX,
+ screenY,
+ ctrlKey,
+ shiftKey,
+ altKey,
+ deltaX: ev.deltaX * MULTIPLIER_X,
+ deltaY: ev.deltaY * MULTIPLIER_Y
+ });
+
+ ev.preventDefault();
+ ev.stopPropagation();
+ ev.target.dispatchEvent(newEv);
+ return false;
+}
+
+// Wait for the main canvas to show up.
+function addCanvasEvent() {
+ const canvas = document.querySelector('.view > canvas');
+ if (canvas != null) canvas.addEventListener('wheel', speedUp);
+ else setTimeout(addCanvasEvent, 500);
+}
+addCanvasEvent();
+
--- /dev/null
+# Matugen template for qutebrowser
+
+
+# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0_255 0_255 0_255"
+# example for white: "#ffffff", "#ff" or "255 255 255".
+
+
+# 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 = "#f1dedc"
+
+# Background color of the completion widget for odd rows.
+c.colors.completion.odd.bg = "#1a1110"
+
+# Background color of the completion widget for even rows.
+c.colors.completion.even.bg = "#1a1110"
+
+# Foreground color of completion widget category headers.
+c.colors.completion.category.fg = "#96cdf8"
+
+# Background color of the completion widget category headers.
+c.colors.completion.category.bg = "#1a1110"
+
+# Top border color of the completion widget category headers.
+c.colors.completion.category.border.top = "#1a1110"
+
+# Bottom border color of the completion widget category headers.
+c.colors.completion.category.border.bottom = "#1a1110"
+
+# Foreground color of the selected completion item.
+c.colors.completion.item.selected.fg = "#f1dedc"
+
+# Background color of the selected completion item.
+c.colors.completion.item.selected.bg = "#bdce80"
+
+# Top border color of the selected completion item.
+c.colors.completion.item.selected.border.top = "#bdce80"
+
+# Bottom border color of the selected completion item.
+c.colors.completion.item.selected.border.bottom = "#bdce80"
+
+# Foreground color of the matched text in the selected completion item.
+c.colors.completion.item.selected.match.fg = "#84d5c4"
+
+# Foreground color of the matched text in the completion.
+c.colors.completion.match.fg = "#84d5c4"
+
+# Color of the scrollbar handle in the completion view.
+c.colors.completion.scrollbar.fg = "#f1dedc"
+
+# Color of the scrollbar in the completion view.
+c.colors.completion.scrollbar.bg = "#1a1110"
+
+# Background color of disabled items in the context menu.
+c.colors.contextmenu.disabled.bg = "#1a1110"
+
+# Foreground color of disabled items in the context menu.
+c.colors.contextmenu.disabled.fg = "#442926"
+
+# Background color of the context menu. If set to null, the Qt dark is used.
+c.colors.contextmenu.menu.bg = "#1a1110"
+
+# Foreground color of the context menu. If set to null, the Qt dark is used.
+c.colors.contextmenu.menu.fg = "#f1dedc"
+
+# Background color of the context menu’s selected item. If set to null, the Qt dark is used.
+c.colors.contextmenu.selected.bg = "#ffb4aa"
+
+#Foreground color of the context menu’s selected item. If set to null, the Qt dark is used.
+c.colors.contextmenu.selected.fg = "#561e19"
+
+# Background color for the download bar.
+c.colors.downloads.bar.bg = "#1a1110"
+
+# Color gradient start for download text.
+c.colors.downloads.start.fg = "#1a1110"
+
+# Color gradient start for download "#1a1110s."
+c.colors.downloads.start.bg = "#96cdf8"
+
+# Color gradient end for download text.
+c.colors.downloads.stop.fg = "#1a1110"
+
+# Color gradient stop for download "#1a1110s."
+c.colors.downloads.stop.bg = "#84d5c4"
+
+# Foreground color for downloads with errors.
+c.colors.downloads.error.fg = "#ffb1c7"
+
+# Font color for hints.
+c.colors.hints.fg = "#ffdad5"
+
+# Background color for hints. Note that you can use a `rgba(...)` value for transparency.
+c.colors.hints.bg = "#5d3f3b"
+
+# Font color for the matched part of hints.
+c.colors.hints.match.fg = "#904a42"
+
+# Text color for the keyhint widget.
+c.colors.keyhint.fg = "#f1dedc"
+
+# Highlight color for keys to complete the current keychain.
+c.colors.keyhint.suffix.fg = "#f1dedc"
+
+# Background color of the keyhint widget.
+c.colors.keyhint.bg = "#1a1110"
+
+# Foreground color of an error message.
+c.colors.messages.error.fg = "#690005"
+
+# Background color of an error message.
+c.colors.messages.error.bg = "#ffb4ab"
+
+# Border color of an error message.
+c.colors.messages.error.border = "#ffb4ab"
+
+# Foreground color of a warning message.
+c.colors.messages.warning.fg = "#690005"
+
+# Background color of a warning message.
+c.colors.messages.warning.bg = "#ffb77c"
+
+# Border color of a warning message.
+c.colors.messages.warning.border = "#ffb77c"
+
+# Foreground color of an info message.
+c.colors.messages.info.fg = "#f1dedc"
+
+# Background color of an info message.
+c.colors.messages.info.bg = "#1a1110"
+
+# Border color of an info message.
+c.colors.messages.info.border = "#1a1110"
+
+# Foreground color for prompts.
+c.colors.prompts.fg = "#561e19"
+
+# Border used around UI elements in prompts.
+c.colors.prompts.border = "#a08c8a"
+
+# Background color for prompts.
+c.colors.prompts.bg = "#ffb4aa"
+
+# Background color for the selected item in filename prompts.
+c.colors.prompts.selected.bg = "#1a1110"
+
+# Foreground color for the selected item in filename prompts.
+c.colors.prompts.selected.fg = "#f1dedc"
+
+# Foreground color of the statusbar.
+c.colors.statusbar.normal.fg = "#f1dedc"
+
+# Background color of the statusbar.
+c.colors.statusbar.normal.bg = "#1a1110"
+
+# Foreground color of the statusbar in insert mode.
+c.colors.statusbar.insert.fg = "#1a1110"
+
+# Background color of the statusbar in insert mode.
+c.colors.statusbar.insert.bg = "#84d5c4"
+
+# Foreground color of the statusbar in passthrough mode.
+c.colors.statusbar.passthrough.fg = "#1a1110"
+
+# Background color of the statusbar in passthrough mode.
+c.colors.statusbar.passthrough.bg = "#ffb77c"
+
+# Foreground color of the statusbar in private browsing mode.
+c.colors.statusbar.private.fg = "#1a1110"
+
+# Background color of the statusbar in private browsing mode.
+c.colors.statusbar.private.bg = "#d6bbfb"
+
+# Foreground color of the statusbar in command mode.
+c.colors.statusbar.command.fg = "#1a1110"
+
+# Background color of the statusbar in command mode.
+c.colors.statusbar.command.bg = "#96cdf8"
+
+# Foreground color of the statusbar in private browsing + command mode.
+c.colors.statusbar.command.private.fg = "#1a1110"
+
+# Background color of the statusbar in private browsing + command mode.
+c.colors.statusbar.command.private.bg = "#96cdf8"
+
+# Foreground color of the statusbar in caret mode.
+c.colors.statusbar.caret.fg = "#dfc38c"
+
+# Background color of the statusbar in caret mode.
+c.colors.statusbar.caret.bg = "#3f2e04"
+
+# Foreground color of the statusbar in caret mode with a selection.
+c.colors.statusbar.caret.selection.fg = "#3f2e04"
+
+# Background color of the statusbar in caret mode with a selection.
+c.colors.statusbar.caret.selection.bg = "#dfc38c"
+
+# Background color of the progress bar.
+c.colors.statusbar.progress.bg = "#ffb4aa"
+
+# Default color of the URL in the statusbar."
+c.colors.statusbar.url.fg = "#96cdf8"
+
+# Foreground color of the URL in the statusbar on error.
+c.colors.statusbar.url.error.fg = "#ffb4ab"
+
+# Foreground color of the URL in the statusbar for hovered links.
+c.colors.statusbar.url.hover.fg = "#ffb77c"
+
+# Foreground color of the URL in the statusbar on successful load
+# (http).
+c.colors.statusbar.url.success.http.fg = "#bdce80"
+
+# Foreground color of the URL in the statusbar on successful load
+# (https).
+c.colors.statusbar.url.success.https.fg = "#bdce80"
+
+# Foreground color of the URL in the statusbar when there's a warning.
+c.colors.statusbar.url.warn.fg = "#ffb4ab"
+
+# Background color of the tab bar.
+c.colors.tabs.bar.bg = "#1a1110"
+
+# Color gradient start for the tab indicator.
+c.colors.tabs.indicator.start = "#ffb77c"
+
+# Color gradient end for the tab indicator.
+c.colors.tabs.indicator.stop = "#bdce80"
+
+# Color for the tab indicator on errors.
+c.colors.tabs.indicator.error = "#ffb4ab"
+
+# Foreground color of unselected odd tabs.
+c.colors.tabs.odd.fg = "#f1dedc"
+
+# Background color of unselected odd tabs.
+c.colors.tabs.odd.bg = "#271d1c"
+
+# Foreground color of unselected even tabs.
+c.colors.tabs.even.fg = "#f1dedc"
+
+# Background color of unselected even tabs.
+c.colors.tabs.even.bg = "#271d1c"
+
+# Foreground color of selected odd tabs.
+c.colors.tabs.selected.odd.fg = "#442926"
+
+# Background color of selected odd tabs.
+c.colors.tabs.selected.odd.bg = "#e7bdb7"
+
+# Foreground color of selected even tabs.
+c.colors.tabs.selected.even.fg = "#442926"
+
+# Background color of selected even tabs.
+c.colors.tabs.selected.even.bg = "#e7bdb7"
+
+# Background color of pinned unselected even tabs.
+c.colors.tabs.pinned.even.bg = "#442926"
+
+# Foreground color of pinned unselected even tabs.
+c.colors.tabs.pinned.even.fg = "#e7bdb7"
+
+# Background color of pinned unselected odd tabs.
+c.colors.tabs.pinned.odd.bg = "#442926"
+
+# Foreground color of pinned unselected odd tabs.
+c.colors.tabs.pinned.odd.fg = "#e7bdb7"
+
+# Background color of pinned selected even tabs.
+c.colors.tabs.pinned.selected.even.bg = "#e7bdb7"
+
+# Foreground color of pinned selected even tabs.
+c.colors.tabs.pinned.selected.even.fg = "#442926"
+
+# Background color of pinned selected odd tabs.
+c.colors.tabs.pinned.selected.odd.bg = "#e7bdb7"
+
+# Foreground color of pinned selected odd tabs.
+c.colors.tabs.pinned.selected.odd.fg = "#442926"
+
+# Background color for webpages if unset (or empty to use the theme's color).
+c.colors.webpage.bg = ''
--- /dev/null
+background = "#040a05"
+foreground = "#d2ead6"
+
+black = "#17271a"
+red = "#c58589"
+green = "#85a375"
+yellow = "#b29369"
+blue = "#7b9bc5"
+magenta = "#ac89bc"
+cyan = "#6aa5a4"
+white = "#9ac6a2"
+
+bblack = "#3c5a42"
+bred = "#d59ea1"
+bgreen = "#9ab98a"
+byellow = "#c7a97f"
+bblue = "#94b1d5"
+bmagenta = "#bfa1cd"
+bcyan = "#80bbba"
+bwhite = "#e9f5ea"
+
+# rootloops.sh kiwi theme
+# https://rootloops.sh/?sugar=7&colors=4&sogginess=4&flavor=1&fruit=5&milk=0
+
+# 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 = foreground
+
+# Background color of the completion widget for odd rows.
+c.colors.completion.odd.bg = background
+
+# Background color of the completion widget for even rows.
+c.colors.completion.even.bg = background
+
+# Foreground color of completion widget category headers.
+c.colors.completion.category.fg = blue
+
+# Background color of the completion widget category headers.
+c.colors.completion.category.bg = background
+
+# Top border color of the completion widget category headers.
+c.colors.completion.category.border.top = background
+
+# Bottom border color of the completion widget category headers.
+c.colors.completion.category.border.bottom = background
+
+# Foreground color of the selected completion item.
+c.colors.completion.item.selected.fg = bwhite
+
+# Background color of the selected completion item.
+c.colors.completion.item.selected.bg = bblack
+
+# Top border color of the selected completion item.
+c.colors.completion.item.selected.border.top = black
+
+# Bottom border color of the selected completion item.
+c.colors.completion.item.selected.border.bottom = black
+
+# Foreground color of the matched text in the selected completion item.
+c.colors.completion.item.selected.match.fg = cyan
+
+# Foreground color of the matched text in the completion.
+c.colors.completion.match.fg = cyan
+
+# Color of the scrollbar handle in the completion view.
+c.colors.completion.scrollbar.fg = foreground
+
+# Color of the scrollbar in the completion view.
+c.colors.completion.scrollbar.bg = background
+
+# Background color of disabled items in the context menu.
+c.colors.contextmenu.disabled.bg = background
+
+# Foreground color of disabled items in the context menu.
+c.colors.contextmenu.disabled.fg = bblack
+
+# Background color of the context menu. If set to null, the Qt default is used.
+c.colors.contextmenu.menu.bg = background
+
+# Foreground color of the context menu. If set to null, the Qt default is used.
+c.colors.contextmenu.menu.fg = foreground
+
+# Background color of the context menu’s selected item. If set to null, the Qt default is used.
+c.colors.contextmenu.selected.bg = bblack
+
+#Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
+c.colors.contextmenu.selected.fg = foreground
+
+# Background color for the download bar.
+c.colors.downloads.bar.bg = background
+
+# Color gradient start for download text.
+c.colors.downloads.start.fg = background
+
+# Color gradient start for download backgrounds.
+c.colors.downloads.start.bg = blue
+
+# Color gradient end for download text.
+c.colors.downloads.stop.fg = background
+
+# Color gradient stop for download backgrounds.
+c.colors.downloads.stop.bg = cyan
+
+# Foreground color for downloads with errors.
+c.colors.downloads.error.fg = red
+
+# Font color for hints.
+c.colors.hints.fg = background
+
+# Background color for hints. Note that you can use a `rgba(...)` value
+# for transparency.
+c.colors.hints.bg = yellow
+
+# Font color for the matched part of hints.
+c.colors.hints.match.fg = foreground
+
+# Text color for the keyhint widget.
+c.colors.keyhint.fg = foreground
+
+# Highlight color for keys to complete the current keychain.
+c.colors.keyhint.suffix.fg = foreground
+
+# Background color of the keyhint widget.
+c.colors.keyhint.bg = background
+
+# Foreground color of an error message.
+c.colors.messages.error.fg = background
+
+# Background color of an error message.
+c.colors.messages.error.bg = red
+
+# Border color of an error message.
+c.colors.messages.error.border = red
+
+# Foreground color of a warning message.
+c.colors.messages.warning.fg = background
+
+# Background color of a warning message.
+c.colors.messages.warning.bg = magenta
+
+# Border color of a warning message.
+c.colors.messages.warning.border = magenta
+
+# Foreground color of an info message.
+c.colors.messages.info.fg = foreground
+
+# Background color of an info message.
+c.colors.messages.info.bg = background
+
+# Border color of an info message.
+c.colors.messages.info.border = background
+
+# Foreground color for prompts.
+c.colors.prompts.fg = foreground
+
+# Border used around UI elements in prompts.
+c.colors.prompts.border = background
+
+# Background color for prompts.
+c.colors.prompts.bg = background
+
+# Background color for the selected item in filename prompts.
+c.colors.prompts.selected.bg = black
+
+# Foreground color for the selected item in filename prompts.
+c.colors.prompts.selected.fg = foreground
+
+# Foreground color of the statusbar.
+c.colors.statusbar.normal.fg = foreground
+
+# Background color of the statusbar.
+c.colors.statusbar.normal.bg = background
+
+# Foreground color of the statusbar in insert mode.
+c.colors.statusbar.insert.fg = cyan
+
+# Background color of the statusbar in insert mode.
+c.colors.statusbar.insert.bg = background
+
+# Foreground color of the statusbar in passthrough mode.
+c.colors.statusbar.passthrough.fg = yellow
+
+# Background color of the statusbar in passthrough mode.
+c.colors.statusbar.passthrough.bg = background
+
+# Foreground color of the statusbar in private browsing mode.
+c.colors.statusbar.private.fg = magenta
+
+# Background color of the statusbar in private browsing mode.
+c.colors.statusbar.private.bg = background
+
+# Foreground color of the statusbar in command mode.
+c.colors.statusbar.command.fg = bblack
+
+# Background color of the statusbar in command mode.
+c.colors.statusbar.command.bg = background
+
+# Foreground color of the statusbar in private browsing + command mode.
+c.colors.statusbar.command.private.fg = magenta
+
+# Background color of the statusbar in private browsing + command mode.
+c.colors.statusbar.command.private.bg = background
+
+# Foreground color of the statusbar in caret mode.
+c.colors.statusbar.caret.fg = blue
+
+# Background color of the statusbar in caret mode.
+c.colors.statusbar.caret.bg = background
+
+# Foreground color of the statusbar in caret mode with a selection.
+c.colors.statusbar.caret.selection.fg = blue
+
+# Background color of the statusbar in caret mode with a selection.
+c.colors.statusbar.caret.selection.bg = background
+
+# Background color of the progress bar.
+c.colors.statusbar.progress.bg = blue
+
+# Default foreground color of the URL in the statusbar.
+c.colors.statusbar.url.fg = foreground
+
+# Foreground color of the URL in the statusbar on error.
+c.colors.statusbar.url.error.fg = red
+
+# Foreground color of the URL in the statusbar for hovered links.
+c.colors.statusbar.url.hover.fg = yellow
+
+# Foreground color of the URL in the statusbar on successful load
+# (http).
+c.colors.statusbar.url.success.http.fg = green
+
+# Foreground color of the URL in the statusbar on successful load
+# (https).
+c.colors.statusbar.url.success.https.fg = green
+
+# Foreground color of the URL in the statusbar when there's a warning.
+c.colors.statusbar.url.warn.fg = magenta
+
+# Background color of the tab bar.
+c.colors.tabs.bar.bg = background
+
+# Color gradient start for the tab indicator.
+c.colors.tabs.indicator.start = yellow
+
+# Color gradient end for the tab indicator.
+c.colors.tabs.indicator.stop = green
+
+# Color for the tab indicator on errors.
+c.colors.tabs.indicator.error = red
+
+# Foreground color of unselected odd tabs.
+c.colors.tabs.odd.fg = foreground
+
+# Background color of unselected odd tabs.
+c.colors.tabs.odd.bg = background
+
+# Foreground color of unselected even tabs.
+c.colors.tabs.even.fg = foreground
+
+# Background color of unselected even tabs.
+c.colors.tabs.even.bg = background
+
+# Background color of pinned unselected even tabs.
+c.colors.tabs.pinned.even.bg = black
+
+# Foreground color of pinned unselected even tabs.
+c.colors.tabs.pinned.even.fg = foreground
+
+# Background color of pinned unselected odd tabs.
+c.colors.tabs.pinned.odd.bg = black
+
+# Foreground color of pinned unselected odd tabs.
+c.colors.tabs.pinned.odd.fg = foreground
+
+# Background color of pinned selected even tabs.
+c.colors.tabs.pinned.selected.even.bg = bblack
+
+# Foreground color of pinned selected even tabs.
+c.colors.tabs.pinned.selected.even.fg = background
+
+# Background color of pinned selected odd tabs.
+c.colors.tabs.pinned.selected.odd.bg = bblack
+
+# Foreground color of pinned selected odd tabs.
+c.colors.tabs.pinned.selected.odd.fg = background
+
+# Foreground color of selected odd tabs.
+c.colors.tabs.selected.odd.fg = background
+
+# Background color of selected odd tabs.
+c.colors.tabs.selected.odd.bg = bblack
+
+# Foreground color of selected even tabs.
+c.colors.tabs.selected.even.fg = background
+
+# Background color of selected even tabs.
+c.colors.tabs.selected.even.bg = bblack
+
+# Background color for webpages if unset (or empty to use the theme's
+# color).
+c.colors.webpage.bg = ''