config

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

commit a81d49e47923ba1151d4106708218a90ca8d7e66
parent 90c2417b744207535f3b4a6bb1c4c5d0997352c4
Author: jacobs-github <JacobDoesLinux@protonmail.com>
Date:   Sun, 16 Feb 2020 02:44:08 -0800

auto save and lazy restore enabled

link color changed

Diffstat:
Mqutebrowser/.config/qutebrowser/autoconfig.yml | 12++++++------
Mqutebrowser/.config/qutebrowser/config.py | 12++++++++++--
Aqutebrowser/.local/share/qutebrowser/userscripts/chdirdotdot | 3+++
3 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/qutebrowser/.config/qutebrowser/autoconfig.yml b/qutebrowser/.config/qutebrowser/autoconfig.yml @@ -6,9 +6,9 @@ config_version: 2 settings: - content.geolocation: - https://www.whatismyzip.com: true - tabs.min_width: - global: 120 - tabs.position: - global: right + auto_save.session: + global: true + content.javascript.enabled: + global: true + session.lazy_restore: + global: true diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py @@ -11,6 +11,14 @@ # 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 = True + +# 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 @@ -408,12 +416,12 @@ 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 = 'red' +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 = '#00cc00' +c.colors.statusbar.url.success.https.fg = '#00da00' # Background color of the tab bar. # Type: QssColor diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/chdirdotdot b/qutebrowser/.local/share/qutebrowser/userscripts/chdirdotdot @@ -0,0 +1,3 @@ +#!/bin/dash +# meh il fix later +printf "open $( printf "$QUTE_URL" | rev | cut -d '/' -f 2-20 | rev )" >> "$QUTE_FIFO"