#!/bin/bash
set -euo pipefail

browser="librewolf"

nc -z 1.1.1.1 53 >/dev/null 2>&1
online=$?

if [ $online -eq 0 ]; then
	read -rep $'What applications?\n: ' application
	"$browser" https://wiki.archlinux.org/title/"$application"
else
	echo "No Internet connection..."
fi

