commit d1395ab5c3cfe5b93a679948e7916737589256f7
parent 9461b2deec07e90cfac5acc861927cc24b23e658
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date: Wed, 5 Feb 2020 01:16:51 -0800
darkgray blank page set as default page to safe memory
Diffstat:
3 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/qutebrowser/.config/qutebrowser/autoconfig.yml b/qutebrowser/.config/qutebrowser/autoconfig.yml
@@ -6,13 +6,7 @@
config_version: 2
settings:
- tabs.max_width:
- global: -1
- tabs.padding:
- global:
- bottom: 0
- left: 5
- right: 5
- top: 0
- tabs.position:
- global: right
+ url.default_page:
+ global: ~/.config/qutebrowser/default.html
+ url.start_pages:
+ global: ~/.config/qutebrowser/default.html
diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py
@@ -307,6 +307,15 @@ c.tabs.tooltips = False
# - 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/qutebrowser/default.html'
+
+# Page(s) to open at the start.
+# Type: List of FuzzyUrl, or FuzzyUrl
+c.url.start_pages = '~/.config/qutebrowser/default.html'
+
# Format to use for the window title. The same placeholders like for
# `tabs.title.format` are defined.
# Type: FormatString
diff --git a/qutebrowser/.config/qutebrowser/default.html b/qutebrowser/.config/qutebrowser/default.html
@@ -0,0 +1,5 @@
+<doctype!html>
+<html>
+ <body bgcolor="#0c0c0c">
+ </body>
+</html>