Easily enable/disable proxy

This commit is contained in:
Thomas Dehaeze 2022-02-07 16:15:50 +01:00
parent dfe44e14af
commit acd7f1f95c

View File

@ -282,6 +282,11 @@ c.aliases['Password_Add'] = 'spawn --userscript ~/.config/qutebrowser/userscript
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'
#+end_src
Use Pass to fill password and username (configuration is done in =~/.config/qutebrowser/password_fill_rc=)
#+begin_src python
c.aliases['Password_Fill'] = 'spawn --userscript password_fill'