petits-scripts-persos/ddg
2022-07-04 16:31:50 +02:00

9 lines
229 B
Bash
Executable File

#!/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