summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas <nbnoll@eml.cc>2021-10-17 09:57:35 -0700
committerNicholas <nbnoll@eml.cc>2021-10-17 10:01:16 -0700
commit4162584ad496a6c4c5a9bcf8f33599179819e5c9 (patch)
treeef34cca891fc1c1b7a0b0be585205ae79687cb40
parent55282316d7188c782b67ffb430bfef1d51e829f6 (diff)
chore(rm): all desktop apps
-rw-r--r--.config/qutebrowser/bookmarks/urls0
-rw-r--r--.config/qutebrowser/config.py473
-rw-r--r--.config/qutebrowser/quickmarks12
3 files changed, 0 insertions, 485 deletions
diff --git a/.config/qutebrowser/bookmarks/urls b/.config/qutebrowser/bookmarks/urls
deleted file mode 100644
index e69de29..0000000
--- a/.config/qutebrowser/bookmarks/urls
+++ /dev/null
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
deleted file mode 100644
index 7728fb9..0000000
--- a/.config/qutebrowser/config.py
+++ /dev/null
@@ -1,473 +0,0 @@
-from operator import methodcaller
-from qutebrowser.api import interceptor, message
-
-config.load_autoconfig(False)
-
-# gruvbox dark hard qutebrowser theme by Florian Bruhin <me@the-compiler.org>
-#
-# Originally based on:
-# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
-# Base16 qutebrowser template by theova and Daniel Mulford
-# Gruvbox dark, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
-
-bg0_hard = "#1d2021"
-bg0_soft = '#32302f'
-bg0_normal = '#282828'
-
-bg0 = "#3c3836"
-bg1 = bg0_normal
-bg2 = "#504945"
-bg3 = "#665c54"
-bg4 = "#7c6f64"
-
-fg0 = "#fbf1c7"
-fg1 = "#ebdbb2"
-fg2 = "#d5c4a1"
-fg3 = "#bdae93"
-fg4 = "#a89984"
-
-bright_red = "#fb4934"
-bright_green = "#b8bb26"
-bright_yellow = "#fabd2f"
-bright_blue = "#83a598"
-bright_purple = "#d3869b"
-bright_aqua = "#8ec07c"
-bright_gray = "#928374"
-bright_orange = "#fe8019"
-
-dark_red = "#cc241d"
-dark_green = "#98971a"
-dark_yellow = "#d79921"
-dark_blue = "#458588"
-dark_purple = "#b16286"
-dark_aqua = "#689d6a"
-dark_gray = "#a89984"
-dark_orange = "#d65d0e"
-
-### Completion
-
-# 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 = [fg1, bright_blue, fg4]
-
-# Background color of the completion widget for odd rows.
-c.colors.completion.odd.bg = bg0
-
-# Background color of the completion widget for even rows.
-c.colors.completion.even.bg = bg0
-
-# Foreground color of completion widget category headers.
-c.colors.completion.category.fg = bright_blue
-
-# Background color of the completion widget category headers.
-c.colors.completion.category.bg = bg1
-
-# Top border color of the completion widget category headers.
-c.colors.completion.category.border.top = c.colors.completion.category.bg
-
-# Bottom border color of the completion widget category headers.
-c.colors.completion.category.border.bottom = c.colors.completion.category.bg
-
-# Foreground color of the selected completion item.
-c.colors.completion.item.selected.fg = fg0
-
-# Background color of the selected completion item.
-c.colors.completion.item.selected.bg = bg4
-
-# Top border color of the selected completion item.
-c.colors.completion.item.selected.border.top = bg2
-
-# Bottom border color of the selected completion item.
-c.colors.completion.item.selected.border.bottom = c.colors.completion.item.selected.border.top
-
-# Foreground color of the matched text in the selected completion item.
-c.colors.completion.item.selected.match.fg = dark_yellow
-
-# Foreground color of the matched text in the completion.
-c.colors.completion.match.fg = c.colors.completion.item.selected.match.fg
-
-# Color of the scrollbar handle in the completion view.
-c.colors.completion.scrollbar.fg = c.colors.completion.item.selected.fg
-
-# Color of the scrollbar in the completion view.
-c.colors.completion.scrollbar.bg = c.colors.completion.category.bg
-
-### Context menu
-
-# Background color of disabled items in the context menu.
-c.colors.contextmenu.disabled.bg = bg3
-
-# Foreground color of disabled items in the context menu.
-c.colors.contextmenu.disabled.fg = fg3
-
-# Background color of the context menu. If set to null, the Qt default is used.
-c.colors.contextmenu.menu.bg = bg0
-
-# Foreground color of the context menu. If set to null, the Qt default is used.
-c.colors.contextmenu.menu.fg = fg2
-
-# Background color of the context menu’s selected item. If set to null, the Qt default is used.
-c.colors.contextmenu.selected.bg = bg2
-
-#Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
-c.colors.contextmenu.selected.fg = c.colors.contextmenu.menu.fg
-
-### Downloads
-
-# Background color for the download bar.
-c.colors.downloads.bar.bg = bg0
-
-# Color gradient start for download text.
-c.colors.downloads.start.fg = bg0
-
-# Color gradient start for download backgrounds.
-c.colors.downloads.start.bg = bright_blue
-
-# Color gradient end for download text.
-c.colors.downloads.stop.fg = c.colors.downloads.start.fg
-
-# Color gradient stop for download backgrounds.
-c.colors.downloads.stop.bg = bright_aqua
-
-# Foreground color for downloads with errors.
-c.colors.downloads.error.fg = bright_red
-
-### Hints
-
-# Font color for hints.
-c.colors.hints.fg = bg0
-
-# Background color for hints.
-c.colors.hints.bg = bright_yellow
-
-# Font color for the matched part of hints.
-c.colors.hints.match.fg = bg4
-
-### Keyhint widget
-
-# Text color for the keyhint widget.
-c.colors.keyhint.fg = fg4
-
-# Highlight color for keys to complete the current keychain.
-c.colors.keyhint.suffix.fg = fg0
-
-# Background color of the keyhint widget.
-c.colors.keyhint.bg = bg0
-
-### Messages
-
-# Foreground color of an error message.
-c.colors.messages.error.fg = bg0
-
-# Background color of an error message.
-c.colors.messages.error.bg = bright_red
-
-# Border color of an error message.
-c.colors.messages.error.border = c.colors.messages.error.bg
-
-# Foreground color of a warning message.
-c.colors.messages.warning.fg = bg0
-
-# Background color of a warning message.
-c.colors.messages.warning.bg = bright_purple
-
-# Border color of a warning message.
-c.colors.messages.warning.border = c.colors.messages.warning.bg
-
-# Foreground color of an info message.
-c.colors.messages.info.fg = fg2
-
-# Background color of an info message.
-c.colors.messages.info.bg = bg0
-
-# Border color of an info message.
-c.colors.messages.info.border = c.colors.messages.info.bg
-
-### Prompts
-
-# Foreground color for prompts.
-c.colors.prompts.fg = fg2
-
-# Border used around UI elements in prompts.
-c.colors.prompts.border = f'1px solid {bg1}'
-
-# Background color for prompts.
-c.colors.prompts.bg = bg3
-
-# Background color for the selected item in filename prompts.
-c.colors.prompts.selected.bg = bg2
-
-### Statusbar
-
-# Foreground color of the statusbar.
-c.colors.statusbar.normal.fg = fg2
-
-# Background color of the statusbar.
-c.colors.statusbar.normal.bg = bg0
-
-# Foreground color of the statusbar in insert mode.
-c.colors.statusbar.insert.fg = bg0
-
-# Background color of the statusbar in insert mode.
-c.colors.statusbar.insert.bg = bright_blue
-
-# Foreground color of the statusbar in passthrough mode.
-c.colors.statusbar.passthrough.fg = bg0
-
-# Background color of the statusbar in passthrough mode.
-c.colors.statusbar.passthrough.bg = dark_blue
-
-# Foreground color of the statusbar in private browsing mode.
-c.colors.statusbar.private.fg = bright_purple
-
-# Background color of the statusbar in private browsing mode.
-c.colors.statusbar.private.bg = bg0
-
-# Foreground color of the statusbar in command mode.
-c.colors.statusbar.command.fg = fg3
-
-# Background color of the statusbar in command mode.
-c.colors.statusbar.command.bg = bg1
-
-# Foreground color of the statusbar in private browsing + command mode.
-c.colors.statusbar.command.private.fg = c.colors.statusbar.private.fg
-
-# Background color of the statusbar in private browsing + command mode.
-c.colors.statusbar.command.private.bg = c.colors.statusbar.command.bg
-
-# Foreground color of the statusbar in caret mode.
-c.colors.statusbar.caret.fg = bg0
-
-# Background color of the statusbar in caret mode.
-c.colors.statusbar.caret.bg = dark_purple
-
-# Foreground color of the statusbar in caret mode with a selection.
-c.colors.statusbar.caret.selection.fg = c.colors.statusbar.caret.fg
-
-# Background color of the statusbar in caret mode with a selection.
-c.colors.statusbar.caret.selection.bg = bright_purple
-
-# Background color of the progress bar.
-c.colors.statusbar.progress.bg = bright_blue
-
-# Default foreground color of the URL in the statusbar.
-c.colors.statusbar.url.fg = fg4
-
-# Foreground color of the URL in the statusbar on error.
-c.colors.statusbar.url.error.fg = dark_red
-
-# Foreground color of the URL in the statusbar for hovered links.
-c.colors.statusbar.url.hover.fg = bright_green
-
-# Foreground color of the URL in the statusbar on successful load
-# (http).
-c.colors.statusbar.url.success.http.fg = bright_orange
-
-# Foreground color of the URL in the statusbar on successful load
-# (https).
-c.colors.statusbar.url.success.https.fg = fg0
-
-# Foreground color of the URL in the statusbar when there's a warning.
-c.colors.statusbar.url.warn.fg = bright_purple
-
-### tabs
-
-# Background color of the tab bar.
-c.colors.tabs.bar.bg = bg0
-
-# Color gradient start for the tab indicator.
-c.colors.tabs.indicator.start = bright_blue
-
-# Color gradient end for the tab indicator.
-c.colors.tabs.indicator.stop = bright_aqua
-
-# Color for the tab indicator on errors.
-c.colors.tabs.indicator.error = bright_red
-
-# Foreground color of unselected odd tabs.
-c.colors.tabs.odd.fg = fg2
-
-# Background color of unselected odd tabs.
-c.colors.tabs.odd.bg = bg3
-
-# Foreground color of unselected even tabs.
-c.colors.tabs.even.fg = c.colors.tabs.odd.fg
-
-# Background color of unselected even tabs.
-c.colors.tabs.even.bg = bg3
-
-# Foreground color of selected odd tabs.
-c.colors.tabs.selected.odd.fg = fg0
-
-# Background color of selected odd tabs.
-c.colors.tabs.selected.odd.bg = bg0
-
-# Foreground color of selected even tabs.
-c.colors.tabs.selected.even.fg = c.colors.tabs.selected.odd.fg
-
-# Background color of selected even tabs.
-c.colors.tabs.selected.even.bg = bg0
-
-# Background color of pinned unselected even tabs.
-c.colors.tabs.pinned.even.bg = bright_green
-
-# Foreground color of pinned unselected even tabs.
-c.colors.tabs.pinned.even.fg = bg2
-
-# Background color of pinned unselected odd tabs.
-c.colors.tabs.pinned.odd.bg = bright_green
-
-# Foreground color of pinned unselected odd tabs.
-c.colors.tabs.pinned.odd.fg = c.colors.tabs.pinned.even.fg
-
-# Background color of pinned selected even tabs.
-c.colors.tabs.pinned.selected.even.bg = bg0
-
-# Foreground color of pinned selected even tabs.
-c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.selected.odd.fg
-
-# Background color of pinned selected odd tabs.
-c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.pinned.selected.even.bg
-
-# Foreground color of pinned selected odd tabs.
-c.colors.tabs.pinned.selected.odd.fg = c.colors.tabs.selected.odd.fg
-
-# Background color for webpages if unset (or empty to use the theme's
-# color).
-# c.colors.webpage.bg = bg4
-# c.colors.webpage.darkmode.enabled = True
-
-# ------------------------------------------------------------------------
-# fonts
-
-font = "14pt consolas"
-# ------------------------------------------------------------------------
-# fonts
-
-c.fonts.statusbar = font
-c.fonts.prompts = font
-c.fonts.completion.category = font
-c.fonts.completion.entry = font
-c.fonts.tabs.selected = font
-c.fonts.tabs.unselected = font
-
-# ------------------------------------------------------------------------
-# paths
-
-c.downloads.location.directory = "~/pulls"
-
-# ------------------------------------------------------------------------
-# features
-
-c.spellcheck.languages = ["en-US"]
-
-c.content.pdfjs = True
-c.content.blocking.method = "adblock"
-
-c.completion.height = "33%"
-c.completion.open_categories = ["quickmarks", "history"]
-
-# ------------------------------------------------------------------------
-# aliases
-
-c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save'}
-
-# ------------------------------------------------------------------------
-# keybinds
-
-config.bind(',c', 'spawn -d chromium {url}')
-config.bind(',js', 'config-cycle content.javascript.enabled')
-
-# ------------------------------------------------------------------------
-# search engines
-
-c.url.searchengines['w'] = 'https://en.wikipedia.org/w/index.php?search={}&title=Special%3ASearch&fulltext=1&ns0=1'
-c.url.searchengines['g'] = 'https://www.google.com/search?q={}'
-c.url.searchengines['sx'] = 'https://searx.info/?q={}&categories=general&language=en-US'
-c.url.searchengines['sc'] = 'https://scholar.google.com/scholar?hl=en-US&as_sdt=0%2C5&q={}&btnG='
-c.url.searchengines['os'] = 'https://wiki.archlinux.org/index.php?title=Special%3ASearch&search={}&go=Go'
-c.url.searchengines['am'] = 'https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords={}'
-c.url.searchengines['py'] = 'https://docs.python.org/3/library/{}.html'
-
-# ------------------------------------------------------------------------
-# security
-
-c.completion.height = "33%"
-c.completion.open_categories = ["quickmarks", "history"]
-
-# ------------------------------------------------------------------------
-# aliases
-
-c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save'}
-
-# ------------------------------------------------------------------------
-# keybinds
-
-config.bind(',c', 'spawn -d chromium {url}')
-config.bind(',js', 'config-cycle content.javascript.enabled')
-
-# ------------------------------------------------------------------------
-# search engines
-
-c.url.searchengines['w'] = 'https://en.wikipedia.org/w/index.php?search={}&title=Special%3ASearch&fulltext=1&ns0=1'
-c.url.searchengines['g'] = 'https://www.google.com/search?q={}'
-c.url.searchengines['sx'] = 'https://searx.info/?q={}&categories=general&language=en-US'
-c.url.searchengines['sc'] = 'https://scholar.google.com/scholar?hl=en-US&as_sdt=0%2C5&q={}&btnG='
-c.url.searchengines['os'] = 'https://wiki.archlinux.org/index.php?title=Special%3ASearch&search={}&go=Go'
-c.url.searchengines['am'] = 'https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords={}'
-c.url.searchengines['py'] = 'https://docs.python.org/3/library/{}.html'
-
-# ------------------------------------------------------------------------
-# security
-
-c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0"
-c.content.headers.accept_language = "en-US,en;q=0.5"
-c.content.headers.custom = {"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}
-
-c.content.cookies.store = False
-c.content.canvas_reading = False
-c.content.webgl = False
-c.content.javascript.enabled = False
-
-js_whitelist = [
- "*://localhost/*",
- "*://github.com/*",
- "*://gitlab.com/*",
- "*://news.ycombinator.com/*",
- "*://hn.algolia.com/*",
- "*://duckduckgo.com/*",
- "*://gitlab.com/*",
- "*://app.slack.com/*",
- "*://*.youtube.com/*",
- "*://covid19-scenarios.org/*",
- "*://*.wolfram.alpha.com/*",
- "*://software.intel.com/*",
- "*://*.kitp.ucsb.edu/*",
-]
-
-for site in js_whitelist:
- with config.pattern(site) as p:
- p.content.javascript.enabled = True
-
-# ------------------------------------------------------------------------
-# redirections
-
-redirection = {
- "www.reddit.com": methodcaller('setHost', 'old.reddit.com'),
- "www.twitter.com": methodcaller('setHost', 'mobile.twitter.com'),
-}
-
-def redirect(request):
- if request.resource_type != interceptor.ResourceType.main_frame or request.request_url.scheme() in {"data", "blob"}:
- return
-
- url = request.request_url
- new = redirection.get(url.host())
- if new is not None and new(url) is not False:
- message.info("redirecting to " + url.toString())
- try:
- request.redirect(url)
- except:
- pass
-
-interceptor.register(redirect)
diff --git a/.config/qutebrowser/quickmarks b/.config/qutebrowser/quickmarks
deleted file mode 100644
index bd753fe..0000000
--- a/.config/qutebrowser/quickmarks
+++ /dev/null
@@ -1,12 +0,0 @@
-hn https://news.ycombinator.com/
-git https://git.nbnoll.xyz
-blas http://www.netlib.org/blas/
-intel https://software.intel.com/sites/landingpage/IntrinsicsGuide/#techs=MMX,SSE,SSE2,SSE3,SSSE3,SSE4_1,SSE4_2,AVX,AVX2&text=xorpd&expand=6141,6144
-c http://www.quut.com/c/ANSI-C-grammar-y-2011.html
-quanta https://www.quantamagazine.org/
-npjl https://cheatsheets.quantecon.org/
-vae https://github.com/alecokas/flux-vae/blob/master/conv-vae/main.jl
-vk https://github.com/vinjn/awesome-vulkan#libraries
-mmo https://www.reddit.com/r/gamedev/comments/2s74pj/writing_a_game_server_protocol_parts_15_ongoing/
-x11 https://github.com/gamedevtech/X11OpenGLWindow/blob/master/X11.cpp
-x11egl https://gist.github.com/jfuerth/82b816510bb2cc063c9945baf1093fd9