1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 07:26:43 +00:00

Qute: switchtor

This commit is contained in:
Phantop 2019-12-27 19:22:30 -05:00
parent e662692ead
commit bbd49a5129
3 changed files with 12 additions and 0 deletions

View file

@ -24,6 +24,7 @@ settings:
<Ctrl+r>: spawn --userscript readability
<Ctrl+w>: tab-close
sd: spawn -u open_download
st: spawn -u switchtor
passthrough:
<Ctrl+Shift+Escape>exit: leave-mode
<Shift+Escape>: null
@ -166,6 +167,8 @@ settings:
https://discordapp.com: true
content.pdfjs:
global: true
content.persistent_storage:
global: ask
content.plugins:
global: false
content.print_element_backgrounds:

View file

@ -1 +1,2 @@
readability.html
tor

View file

@ -0,0 +1,8 @@
#!/usr/bin/fish
if test -e $QUTE_DATA_DIR/userscripts/tor
echo "set content.proxy system" >> "$QUTE_FIFO"
rm $QUTE_DATA_DIR/userscripts/tor
else
echo "set content.proxy socks://localhost:9050/" >> "$QUTE_FIFO"
touch $QUTE_DATA_DIR/userscripts/tor
end