#+TITLE: Qutebrowser Configuration :DRAWER: #+STARTUP: overview #+LANGUAGE: en #+EMAIL: dehaeze.thomas@gmail.com #+AUTHOR: Dehaeze Thomas #+HTML_LINK_HOME: ./index.html #+HTML_LINK_UP: ./index.html #+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: #+PROPERTY: header-args+ :comments none #+PROPERTY: header-args+ :mkdirp yes #+PROPERTY: header-args+ :tangle ~/.config/qutebrowser/config.py :END: * Import #+begin_src conf from qutebrowser.config.configfiles import ConfigAPI from qutebrowser.config.config import ConfigContainer import sys, os #+end_src * General config #+BEGIN_SRC conf # This is here so configs done via the GUI are still loaded. # Remove it to not load settings done via the GUI. # config.load_autoconfig() # Aliases for commands. The keys of the given dictionary are the c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} # Time interval (in milliseconds) between auto-saves of config/cookies/etc. c.auto_save.interval = 15000 # Always restore open sites when qutebrowser is reopened. c.auto_save.session = False # Backend to use to display websites c.backend = 'webengine' # Require a confirmation before quitting the application. # Valid values: # - always: Always show a confirmation. # - multiple-tabs: Show a confirmation if multiple tabs are opened. # - downloads: Show a confirmation if downloads are running # - never: Never show a confirmation. c.confirm_quit = ['downloads'] #+END_SRC * Content #+BEGIN_SRC conf # Automatically start playing `