config

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

commit 9d378fb9a918658e261e312a871ed8b435bad90a
parent b31630288e906381d0e9159fcf1f8d177981c7aa
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Wed, 29 Jul 2020 22:46:14 -0700

Remove unused configurations

Diffstat:
Dqutebrowser/.config/qutebrowser/config.py | 534-------------------------------------------------------------------------------
Dxinitrc/.xinitrc | 52----------------------------------------------------
2 files changed, 0 insertions(+), 586 deletions(-)

diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py @@ -1,534 +0,0 @@ -# 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'} - -# Load a restored tab as soon as it takes focus. -# Type: Bool -c.session.lazy_restore = False - -# Always restore open sites when qutebrowser is reopened. -# Type: Bool -c.auto_save.session = True - -# 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 - -# Store cookies. Note this option needs a restart with QtWebEngine on Qt -# < 5.9. -# Type: Bool -c.content.cookies.store = False - -# Limit fullscreen to the browser window (does not expand to fill the -# screen). -# Type: Bool -c.content.windowed_fullscreen = True - -# 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 - -# Allow websites to request geolocations. -# Type: BoolAsk -# Valid values: -# - true -# - false -# - ask -config.set('content.geolocation', False, 'https://www.bestbuy.com') - -# Allow websites to request geolocations. -# Type: BoolAsk -# Valid values: -# - true -# - false -# - ask -config.set('content.geolocation', True, 'https://www.whatismyzip.com') - -# User agent to send. The following placeholders are defined: * -# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: -# The underlying WebKit version (set to a fixed value with -# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for -# QtWebEngine. * `{qt_version}`: The underlying Qt version. * -# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for -# QtWebEngine. * `{upstream_browser_version}`: The corresponding -# Safari/Chrome version. * `{qutebrowser_version}`: The currently -# running qutebrowser version. The default value is equal to the -# unchanged user agent of QtWebKit/QtWebEngine. Note that the value -# read from JavaScript is always the global value. -# Type: FormatString -c.content.headers.user_agent = 'Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/70.0' - -# User agent to send. The following placeholders are defined: * -# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: -# The underlying WebKit version (set to a fixed value with -# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for -# QtWebEngine. * `{qt_version}`: The underlying Qt version. * -# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for -# QtWebEngine. * `{upstream_browser_version}`: The corresponding -# Safari/Chrome version. * `{qutebrowser_version}`: The currently -# running qutebrowser version. The default value is equal to the -# unchanged user agent of QtWebKit/QtWebEngine. Note that the value -# read from JavaScript is always the global value. -# Type: FormatString -config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/') - -# User agent to send. The following placeholders are defined: * -# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: -# The underlying WebKit version (set to a fixed value with -# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for -# QtWebEngine. * `{qt_version}`: The underlying Qt version. * -# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for -# QtWebEngine. * `{upstream_browser_version}`: The corresponding -# Safari/Chrome version. * `{qutebrowser_version}`: The currently -# running qutebrowser version. The default value is equal to the -# unchanged user agent of QtWebKit/QtWebEngine. Note that the value -# read from JavaScript is always the global value. -# Type: FormatString -config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://accounts.google.com/*') - -# User agent to send. The following placeholders are defined: * -# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: -# The underlying WebKit version (set to a fixed value with -# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for -# QtWebEngine. * `{qt_version}`: The underlying Qt version. * -# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for -# QtWebEngine. * `{upstream_browser_version}`: The corresponding -# Safari/Chrome version. * `{qutebrowser_version}`: The currently -# running qutebrowser version. The default value is equal to the -# unchanged user agent of QtWebKit/QtWebEngine. Note that the value -# read from JavaScript is always the global value. -# Type: FormatString -config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*') - -# User agent to send. The following placeholders are defined: * -# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: -# The underlying WebKit version (set to a fixed value with -# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for -# QtWebEngine. * `{qt_version}`: The underlying Qt version. * -# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for -# QtWebEngine. * `{upstream_browser_version}`: The corresponding -# Safari/Chrome version. * `{qutebrowser_version}`: The currently -# running qutebrowser version. The default value is equal to the -# unchanged user agent of QtWebKit/QtWebEngine. Note that the value -# read from JavaScript is always the global value. -# Type: FormatString -config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://docs.google.com/*') - -# Load images automatically in web pages. -# Type: Bool -config.set('content.images', True, 'chrome-devtools://*') - -# Load images automatically in web pages. -# Type: Bool -config.set('content.images', True, 'devtools://*') - -# Enable JavaScript. -# Type: Bool -config.set('content.javascript.enabled', True, 'file://*') - -# Enable JavaScript. -# Type: Bool -c.content.javascript.enabled = True - -# Enable JavaScript. -# Type: Bool -config.set('content.javascript.enabled', True, 'chrome-devtools://*') - -# Enable JavaScript. -# Type: Bool -config.set('content.javascript.enabled', True, 'devtools://*') - -# Enable JavaScript. -# Type: Bool -config.set('content.javascript.enabled', True, 'chrome://*/*') - -# Enable JavaScript. -# Type: Bool -config.set('content.javascript.enabled', True, 'qute://*/*') - -# Allow websites to show notifications. -# Type: BoolAsk -# Valid values: -# - true -# - false -# - ask -config.set('content.notifications', True, 'https://www.reddit.com') - -# Allow websites to show notifications. -# Type: BoolAsk -# Valid values: -# - true -# - false -# - ask -config.set('content.notifications', True, 'https://mail.protonmail.com') - -# Proxy to use. In addition to the listed values, you can use a -# `socks://...` or `http://...` URL. -# Type: Proxy -# Valid values: -# - system: Use the system wide proxy. -# - none: Don't use any proxy -c.content.proxy = 'system' - -# List of user stylesheet filenames to use. -# Type: List of File, or File -c.content.user_stylesheets = [] - -# 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 - -# Height (in pixels or as percentage of the window) of the completion. -# Type: PercOrInt -c.completion.height = '20%' - -# Width (in pixels) of the scrollbar in the completion window. -# Type: Int -c.completion.scrollbar.width = 0 - -# Padding (in pixels) of the scrollbar handle in the completion window. -# Type: Int -c.completion.scrollbar.padding = 0 - -# Directory to save downloads to. If unset, a sensible OS-specific -# default is used. -# Type: Directory -c.downloads.location.directory = '~/dl' - -# 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'] - -# Mouse button with which to close tabs. -# Type: String -# Valid values: -# - right: Close tabs on right-click. -# - middle: Close tabs on middle-click. -# - none: Don't close tabs using the mouse. -c.tabs.close_mouse_button = 'none' - -# How to behave when the close mouse button is pressed on the tab bar. -# Type: String -# Valid values: -# - new-tab: Open a new tab. -# - close-current: Close the current tab. -# - close-last: Close the last tab. -# - ignore: Don't do anything. -c.tabs.close_mouse_button_on_bar = 'ignore' - -# 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' - -# Switch between tabs using the mouse wheel. -# Type: Bool -c.tabs.mousewheel_switching = False - -# Position of new tabs which are not opened from another tab. See -# `tabs.new_position.stacking` for controlling stacking behavior. -# Type: NewTabPosition -# Valid values: -# - prev: Before the current tab. -# - next: After the current tab. -# - first: At the beginning. -# - last: At the end. -c.tabs.new_position.unrelated = 'next' - -# Padding (in pixels) around text for tabs. -# Type: Padding -c.tabs.padding = {'bottom': 0, 'left': 5, 'right': 5, 'top': 0} - -# 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 = 'right' - -# 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 = 'always' - -# Alignment of the text inside of tabs. -# Type: TextAlignment -# Valid values: -# - left -# - right -# - center -c.tabs.title.alignment = 'left' - -# 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 = '{index} {current_title}' - -# Width (in pixels or as percentage of the window) of the tab bar if -# it's vertical. -# Type: PercOrInt -c.tabs.width = '18%' - -# Minimum width (in pixels) of tabs (-1 for the default minimum size -# behavior). This setting only applies when tabs are horizontal. This -# setting does not apply to pinned tabs, unless `tabs.pinned.shrink` is -# False. -# Type: Int -c.tabs.min_width = 120 - -# Maximum width (in pixels) of tabs (-1 for no maximum). This setting -# only applies when tabs are horizontal. This setting does not apply to -# pinned tabs, unless `tabs.pinned.shrink` is False. This setting may -# not apply properly if max_width is smaller than the minimum size of -# tab contents, or smaller than tabs.min_width. -# Type: Int -c.tabs.max_width = -1 - -# Width (in pixels) of the progress indicator (0 to disable). -# Type: Int -c.tabs.indicator.width = 2 - -# Padding (in pixels) for tab indicators. -# Type: Padding -c.tabs.indicator.padding = {'bottom': 0, 'left': 0, 'right': 0, 'top': 1} - -# Show tooltips on tabs. Note this setting only affects windows opened -# after it has been set. -# Type: Bool -c.tabs.tooltips = False - -# 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' - -# Page to open if :open -t/-b/-w is used without URL. Use `about:blank` -# for a blank page. -# Type: FuzzyUrl -c.url.default_page = '~/.config/homepage/index.html' - -# Search engines which can be used via the address bar. Maps a search -# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}` -# placeholder. The placeholder will be replaced by the search term, use -# `{{` and `}}` for literal `{`/`}` signs. The search engine named -# `DEFAULT` is used when `url.auto_search` is turned on and something -# else than a URL was entered to be opened. Other search engines can be -# used by prepending the search engine name to the search term, e.g. -# `:open google qutebrowser`. -# Type: Dict -c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'} - -# Page(s) to open at the start. -# Type: List of FuzzyUrl, or FuzzyUrl -c.url.start_pages = '~/.config/homepage/index.html' - -# 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' - -# Background color of the completion widget for odd rows. -# Type: QssColor -c.colors.completion.odd.bg = '#151515' - -# Background color of the completion widget for even rows. -# Type: QssColor -c.colors.completion.even.bg = '#151515' - -# Foreground color of completion widget category headers. -# Type: QtColor -c.colors.completion.category.fg = '#e8c352' - -# Background color of the completion widget category headers. -# Type: QssColor -c.colors.completion.category.bg = '#0f0f0f' - -# Top border color of the completion widget category headers. -# Type: QssColor -c.colors.completion.category.border.top = '#0f0f0f' - -# Bottom border color of the completion widget category headers. -# Type: QssColor -c.colors.completion.category.border.bottom = '#a43333' - -# Font color for hints. -# Type: QssColor -c.colors.hints.fg = '#000000' - -# Background color for hints. Note that you can use a `rgba(...)` value -# for transparency. -# Type: QssColor -c.colors.hints.bg = '#ffff00' - -# Font color for the matched part of hints. -# Type: QtColor -c.colors.hints.match.fg = '#ffff00' - -# Foreground color for prompts. -# Type: QssColor -c.colors.prompts.fg = 'white' - -# Border used around UI elements in prompts. -# Type: String -c.colors.prompts.border = '1px solid gray' - -# Background color for prompts. -# Type: QssColor -c.colors.prompts.bg = '#444444' - -# 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 = '#300030' - -# 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' - -# Background color of the progress bar. -# Type: QssColor -c.colors.statusbar.progress.bg = 'green' - -# Foreground color of the URL in the statusbar on successful load -# (http). -# Type: QssColor -c.colors.statusbar.url.success.http.fg = '#ca0000' - -# Foreground color of the URL in the statusbar on successful load -# (https). -# Type: QssColor -c.colors.statusbar.url.success.https.fg = '#00da00' - -# Background color of the tab bar. -# Type: QssColor -c.colors.tabs.bar.bg = '#000005' - -# 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 = 'white' - -# Bindings for normal mode -config.unbind('+') -config.unbind('-') -config.bind('<Alt+Shift+Home>', 'zoom') -config.bind('<Alt+Shift+PgDown>', 'zoom-out') -config.bind('<Alt+Shift+PgUp>', 'zoom-in') -config.bind('<Ctrl+j>', 'scroll-px 0 40') -config.bind('<Ctrl+k>', 'scroll-px 0 -40') -config.bind('<Ctrl+o>', 'open -p') -config.bind('<F11>', 'nop') -config.unbind('=') -config.bind('b', 'spawn -u bookmarks --open') -config.bind('ctrl', 'o open -p') -config.bind('ctrl+j', 'scroll-px 0 40') -config.bind('ctrl+o', 'open -p') -config.bind('m', 'spawn -u bookmarks --edit') diff --git a/xinitrc/.xinitrc b/xinitrc/.xinitrc @@ -1,52 +0,0 @@ -#!/usr/bin/env sh {{{ -# vim: foldmethod=marker - -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -if [ -f $sysresources ]; then - xrdb -merge $sysresources -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - -if [ -f "$userresources" ]; then - xrdb -merge "$userresources" -fi - -if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" -fi - -if [ -d /etc/X11/xinit/xinitrc.d ]; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f -fi -#}}} - -# X utilitys -xwallpaper --zoom $XDG_CONFIG_HOME/wallpaper & -xsetroot -xcf ~/.icons/Quintom/cursors/left_ptr 13 & - -# kbd -setxkbmap -option ctrl:nocaps -xmodmap -e "keysym Menu = Super_R" & -xset r rate 250 30 & - -# setup -lesskey ~/.config/lesskey & - -# daemons -xbanish & -dunst & -pkill battery -battery & -sxhkd & -slstatus & -exec dwm