Conversation
Notices
-
Machismo (zerglingman@freespeechextremist.com)'s status on Monday, 26-Jun-2023 16:00:13 JST Machismo @kirby I don't know. -
Machismo (zerglingman@freespeechextremist.com)'s status on Monday, 26-Jun-2023 16:00:45 JST Machismo @kirby ... But I think yes. As in I think that is *the* way to use it. -
THE pleroma-tan enjoyer (kirby@waifuism.life)'s status on Monday, 26-Jun-2023 16:00:54 JST THE pleroma-tan enjoyer @Zerglingman only one way to find out I guess. I'll load up the web browser Machismo likes this. -
Machismo (zerglingman@freespeechextremist.com)'s status on Monday, 26-Jun-2023 16:02:38 JST Machismo @kirby
declare -A sources
sources[ddg]="https://duckduckgo.com/?q="
sources[gelb]="https://gelbooru.com/index.php?page=post&s=list&tags="
sources[wiki]="https://en.wikipedia.org/w/index.php?title=Special:Search&fulltext=Search&ns0=1&go=Go&search="
[etc.]
function smolhelp()
{
echo "Known search engines: ${!sources[@]}"
}
function bighelp()
{
echo "Configured search engines:"
for key in ${!sources[@]}; do
echo "$key: ${sources[$key]}"
done
}
while getopts "hH" o;do case "${o}" in
h) smolhelp; exit;;
H) bighelp; exit;;
esac done
SOURCE=$1
shift 1
exo-open "${sources[$SOURCE]}$*"
Default browser: xfce4-terminal --command="lynx %s" -
THE pleroma-tan enjoyer (kirby@waifuism.life)'s status on Monday, 26-Jun-2023 16:06:33 JST THE pleroma-tan enjoyer @Zerglingman dot works... In conversation permalink Machismo likes this. -
THE pleroma-tan enjoyer (kirby@waifuism.life)'s status on Monday, 26-Jun-2023 16:07:14 JST THE pleroma-tan enjoyer @Zerglingman arrow doesnt In conversation permalink Machismo likes this.
-