Add easy way to use proxy

This commit is contained in:
Thomas Dehaeze 2022-05-09 10:03:14 +02:00
parent c3dbbc4f1f
commit 34772b35fa

View File

@ -283,8 +283,13 @@ config.bind(',P', 'Password_Add')
#+end_src
#+begin_src python
c.aliases['proxy_on'] = 'set content.proxy socks5://localhost:8080'
c.aliases['proxy_off'] = 'config-unset content.proxy'
c.aliases['proxy_homelab_on'] = 'set content.proxy socks5://localhost:8080'
c.aliases['proxy_homelab_off'] = 'config-unset content.proxy'
#+end_src
#+begin_src python
c.aliases['proxy_esrf_on'] = 'set content.proxy socks5://localhost:8081'
c.aliases['proxy_esrf_off'] = 'config-unset content.proxy'
#+end_src
Use Pass to fill password and username (configuration is done in =~/.config/qutebrowser/password_fill_rc=)