config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit e16e0164d70d7c908ad45800fe61d7e2a9b54edd
parent 7aebc49effc0bc25a41ef7c1b2a535a69e07e672
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date:   Sat, 28 Dec 2019 22:32:50 -0800

qutebrower config added.

Diffstat:
Aqutebrowser/.config/qutebrowser/autoconfig.yml | 24++++++++++++++++++++++++
Aqutebrowser/.config/qutebrowser/bookmarks/urls | 6++++++
Aqutebrowser/.config/qutebrowser/config.py | 208+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aqutebrowser/.config/qutebrowser/quickmarks | 0
Aqutebrowser/.local/share/qutebrowser/userscripts/test | 3+++
5 files changed, 241 insertions(+), 0 deletions(-)

diff --git a/qutebrowser/.config/qutebrowser/autoconfig.yml b/qutebrowser/.config/qutebrowser/autoconfig.yml @@ -0,0 +1,24 @@ +# If a config.py file exists, this file is ignored unless it's explicitly loaded +# via config.load_autoconfig(). For more information, see: +# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml +# DO NOT edit this file by hand, qutebrowser will overwrite it. +# Instead, create a config.py - see :help for details. + +config_version: 2 +settings: + colors.tabs.even.bg: + global: '#000000' + colors.tabs.odd.bg: + global: '#000000' + colors.tabs.selected.even.bg: + global: '#300030' + colors.tabs.selected.odd.bg: + global: '#300030' + tabs.favicons.scale: + global: 1.1 + tabs.favicons.show: + global: pinned + tabs.mode_on_change: + global: restore + tabs.position: + global: bottom diff --git a/qutebrowser/.config/qutebrowser/bookmarks/urls b/qutebrowser/.config/qutebrowser/bookmarks/urls @@ -0,0 +1,6 @@ +https://mail.protonmail.com/inbox Inbox | JacobDoesLinux@protonmail.com | ProtonMail +https://www.livechart.me/schedule/tv Anime Schedule - Television | LiveChart.me +https://twist.moe/a/satsuriku-no-tenshi/2 Satsuriku no Tenshi (Angels of Death) Episode 2 - Anime Twist +https://www.jamendo.com/explore/playlists Jamendo - Music +https://www.anime-planet.com Animeplanet +http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/index.html NCURSES Programming HOWTO diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py @@ -0,0 +1,208 @@ +# Autogenerated config.py +# Documentation: +# qute://help/configuring.html +# qute://help/settings.html + +# Uncomment this to still load settings configured via autoconfig.yml +# config.load_autoconfig() + +# Aliases for commands. The keys of the given dictionary are the +# aliases, while the values are the commands they map to. +# Type: Dict +c.aliases = {'q': 'close', 'qa': 'quit', 'w': 'session-save', 'wq': 'quit --save', 'wqa': 'quit --save', 'mpv': 'spawn -u view_in_mpv'} + +# Automatically start playing `<video>` elements. Note: On Qt < 5.11, +# this option needs a restart and does not support URL patterns. +# Type: Bool +c.content.autoplay = False + +# Allow websites to share screen content. On Qt < 5.10, a dialog box is +# always displayed, even if this is set to "true". +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +c.content.desktop_capture = False + +# User agent to send. Unset to send the default. Note that the value +# read from JavaScript is always the global value. +# Type: String +c.content.headers.user_agent = 'Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0' + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'file://*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'chrome://*/*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'qute://*/*') + +# Enable WebGL. +# Type: Bool +c.content.webgl = False + +# Monitor load requests for cross-site scripting attempts. Suspicious +# scripts will be blocked and reported in the inspector's JavaScript +# console. Note that bypasses for the XSS auditor are widely known and +# it can be abused for cross-site info leaks in some scenarios, see: +# https://www.chromium.org/developers/design-documents/xss-auditor +# Type: Bool +c.content.xss_auditing = True + +# Show a filebrowser in upload/download prompts. +# Type: Bool +c.prompt.filebrowser = False + +# Hide the statusbar unless a message is shown. +# Type: Bool +c.statusbar.hide = False + +# Padding (in pixels) for the statusbar. +# Type: Padding +c.statusbar.padding = {'bottom': 1, 'left': 0, 'right': 0, 'top': 1} + +# List of widgets displayed in the statusbar. +# Type: List of String +# Valid values: +# - url: Current page URL. +# - scroll: Percentage of the current page position like `10%`. +# - scroll_raw: Raw percentage of the current page position like `10`. +# - history: Display an arrow when possible to go back/forward in history. +# - tabs: Current active tab, e.g. `2`. +# - keypress: Display pressed keys when composing a vi command. +# - progress: Progress bar for the current page loading. +c.statusbar.widgets = ['keypress', 'url', 'scroll', 'progress'] + +# Scaling factor for favicons in the tab bar. The tab size is unchanged, +# so big favicons also require extra `tabs.padding`. +# Type: Float +c.tabs.favicons.scale = 1.1 + +# When to show favicons in the tab bar. +# Type: String +# Valid values: +# - always: Always show favicons. +# - never: Always hide favicons. +# - pinned: Show favicons only on pinned tabs. +c.tabs.favicons.show = 'pinned' + +# When switching tabs, what input mode is applied. +# Type: String +# Valid values: +# - persist: Retain the current mode. +# - restore: Restore previously saved mode. +# - normal: Always revert to normal mode. +c.tabs.mode_on_change = 'restore' + +# Position of the tab bar. +# Type: Position +# Valid values: +# - top +# - bottom +# - left +# - right +c.tabs.position = 'bottom' + +# When to show the tab bar. +# Type: String +# Valid values: +# - always: Always show the tab bar. +# - never: Always hide the tab bar. +# - multiple: Hide the tab bar if only one tab is open. +# - switching: Show the tab bar when switching tabs. +c.tabs.show = 'multiple' + +# Format to use for the tab title. The following placeholders are +# defined: * `{perc}`: Percentage as a string like `[10%]`. * +# `{perc_raw}`: Raw percentage, e.g. `10`. * `{current_title}`: Title of +# the current web page. * `{title_sep}`: The string ` - ` if a title is +# set, empty otherwise. * `{index}`: Index of this tab. * `{id}`: +# Internal tab ID of this tab. * `{scroll_pos}`: Page scroll position. * +# `{host}`: Host of the current web page. * `{backend}`: Either +# ''webkit'' or ''webengine'' * `{private}`: Indicates when private mode +# is enabled. * `{current_url}`: URL of the current web page. * +# `{protocol}`: Protocol (http/https/...) of the current web page. * +# `{audio}`: Indicator for audio/mute status. +# Type: FormatString +c.tabs.title.format = '{audio}{index}: {current_title}' + +# What search to start when something else than a URL is entered. +# Type: String +# Valid values: +# - naive: Use simple/naive check. +# - dns: Use DNS requests (might be slow!). +# - never: Never search automatically. +c.url.auto_search = 'naive' + +# Format to use for the window title. The same placeholders like for +# `tabs.title.format` are defined. +# Type: FormatString +c.window.title_format = '{perc}{current_title}{title_sep}qutebrowser' + +# Foreground color of the statusbar in private browsing mode. +# Type: QssColor +c.colors.statusbar.private.fg = 'white' + +# Background color of the statusbar in private browsing mode. +# Type: QssColor +c.colors.statusbar.private.bg = 'purple' + +# Foreground color of the statusbar in private browsing + command mode. +# Type: QssColor +c.colors.statusbar.command.private.fg = 'purple' + +# Background color of the statusbar in private browsing + command mode. +# Type: QssColor +c.colors.statusbar.command.private.bg = 'black' + +# Foreground color of the URL in the statusbar on successful load +# (http). +# Type: QssColor +c.colors.statusbar.url.success.http.fg = 'red' + +# Foreground color of the URL in the statusbar on successful load +# (https). +# Type: QssColor +c.colors.statusbar.url.success.https.fg = '#00cc00' + +# Foreground color of unselected odd tabs. +# Type: QtColor +c.colors.tabs.odd.fg = '#cccccc' + +# Background color of unselected odd tabs. +# Type: QtColor +c.colors.tabs.odd.bg = '#000000' + +# Foreground color of unselected even tabs. +# Type: QtColor +c.colors.tabs.even.fg = '#cccccc' + +# Background color of unselected even tabs. +# Type: QtColor +c.colors.tabs.even.bg = '#000000' + +# Background color of selected odd tabs. +# Type: QtColor +c.colors.tabs.selected.odd.bg = '#300030' + +# Background color of selected even tabs. +# Type: QtColor +c.colors.tabs.selected.even.bg = '#300030' + +# Background color for webpages if unset (or empty to use the theme's +# color). +# Type: QtColor +c.colors.webpage.bg = '#333' + +# Bindings for normal mode +config.bind('<F11>', 'nop') +config.bind('J', 'tab-prev') +config.bind('K', 'tab-next') +config.bind('e', 'spawn -u view_in_mpv') +config.bind('h', 'tab-prev') +config.bind('l', 'tab-next') diff --git a/qutebrowser/.config/qutebrowser/quickmarks b/qutebrowser/.config/qutebrowser/quickmarks diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/test b/qutebrowser/.local/share/qutebrowser/userscripts/test @@ -0,0 +1,3 @@ +#!/bin/sh + +notify-send "$QUTE_URL"