mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-28 15:57:19 +00:00
9 lines
267 B
Fish
Executable file
9 lines
267 B
Fish
Executable file
#!/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
|