ddg script

This commit is contained in:
Adrian Amaglio 2022-07-04 16:31:50 +02:00
parent 8b23fc6990
commit a43f4aea0a

8
ddg Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
if [ "$#" -eq 0 ] ; then
echo "WARNING! All your communication will bypass VPN and firewall!"
su no-fw -c 'lynx http://detectportal.firefox.com'
else
lynx "https://duckduckgo.com/?q=$(join_by '+' $@ )&t=ffab"
fi