massive cleanup

This commit is contained in:
ange 2025-06-17 05:13:23 +00:00
parent 81da0e63fa
commit 5a6ec6f75c
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
35 changed files with 134 additions and 126 deletions

View file

@ -15,7 +15,7 @@ if [ -z "$q" ]; then
elif [[ "$q" == *://* ]]; then
url="${q/*+( )/}"
exec xdg-open "$url"
exec $BROWSER "$url"
fi
if [[ "$q" =~ ^[^[:space:]]+(\.[^[:space:]]+)+$ ]]; then
exec $BROWSER "$q"