]> git.rmz.io Git - dotfiles.git/commit
qutebrowser: add proxy-pac to qt.args
authorSamir Benmendil <me@rmz.io>
Tue, 26 Jan 2021 00:15:35 +0000 (00:15 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 26 Jan 2021 00:25:01 +0000 (00:25 +0000)
commit1c89bd14849b914e9c62febdb065fbf66db53aed
tree77b455a1f20a33e326521ed980f86a42a0d72ee4
parent9e86e4da5728e713a1e561548457d65d08dece7c
qutebrowser: add proxy-pac to qt.args

This defines which proxy (if at all) to use for which urls. It requires
qutebrowser to be patched to not load it's own proxy handling as that
seems to overwrite this.

This used to be set with QTWEBENGINE_CHROMIUM_FLAGS environment variable
in an untracked qutebrowser wrapper in PATH. It caused some issues with
darkmode though, as it seems that this env variable is not overwritten
when already set, and the correct darkmode settings are not being passed
to blink.

Setting the proxy file as qt.args works also with darkmode.
qutebrowser/config.py
qutebrowser/proxy.pac [new file with mode: 0644]