From 98d04cd1b12a0fc8d7bbf8f21ec30ebeba131830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Sun, 1 Mar 2020 23:28:41 +0100 Subject: [PATCH] Handle autoconfig --- .config/qutebrowser/autoconfig.yml | 12 ++++++++++++ .config/qutebrowser/config.py | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 .config/qutebrowser/autoconfig.yml diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml new file mode 100644 index 0000000..8a1d789 --- /dev/null +++ b/.config/qutebrowser/autoconfig.yml @@ -0,0 +1,12 @@ +# 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: + auto_save.session: + global: true + url.start_pages: + global: https://startpage.com/ diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 175a969..94b2b09 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -63,6 +63,8 @@ c.url.searchengines = {'DEFAULT': 'https://startpage.com/do/search?query={}'} c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} +# Import autoconfig +config.load_autoconfig() # Key bindings -- GitLab