mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-29 01:52:57 +00:00
9 lines
267 B
Plaintext
9 lines
267 B
Plaintext
|
#!/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
|