📝 Updated xh and ph scripts

This commit is contained in:
z3rOR0ne 2022-09-06 23:47:48 -07:00
parent 04e3368aae
commit 24150b9ef4
2 changed files with 28 additions and 4 deletions

View file

@ -1,3 +1,15 @@
#!/bin/bash
# chromium --incognito https://www.pornhub.com/video/search?search="${1}" &
librewolf https://www.pornhub.com/video/search?search="${1}" &
source "${HOME}"/.n_hidden
lastarg="${@: -1}"
search=""
for ARG in "${@}" ; do
if [ $ARG == $lastarg ] ; then
search+="${ARG}"
else
search+="${ARG}+"
fi
done
$BROWSER "${N1}"/video/search?search="${search}" &

View file

@ -1,3 +1,15 @@
#!/bin/bash
# chromium --incognito https://xhmaster.com/search/"${1}" &
librewolf https://xhmaster.com/search/"${1}" &
source "${HOME}"/.n_hidden
lastarg="${@: -1}"
# echo "lastarg is "${lastarg}""
search=""
for ARG in "${@}" ; do
if [ $ARG == $lastarg ] ; then
search+="${ARG}"
else
search+="${ARG}+"
fi
done
$BROWSER "${N2}"/search/"${search}" &