feat: cleanup aliases, arkenfox

This commit is contained in:
ange 2025-02-25 12:38:38 +00:00
parent 308bdf15f7
commit 23d1e06c20
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
21 changed files with 2830 additions and 237 deletions

View file

@ -21,7 +21,7 @@ elif [[ "$q" == *://* ]]; then
fi
exec xdg-open "$url"
fi
if [[ "$q" == *.* ]] && [[ "$q" != *' '* ]]; then
if [[ "$q" =~ ^[^[:space:]]+(\.[^[:space:]]+)+$ ]]; then
exec $BROWSER "$q"
fi
exec $BROWSER "https://searx.gmoker.com/search?q=$(jq -Rr '@uri' <<< "$q")"