1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 20:02:47 +00:00
dotfiles/.local/share/qutebrowser/userscripts/switchtor

9 lines
267 B
Plaintext
Raw Normal View History

2019-12-28 00:22:30 +00:00
#!/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