📝 Updated xh and ph scripts
This commit is contained in:
parent
04e3368aae
commit
24150b9ef4
2 changed files with 28 additions and 4 deletions
16
scripts/ph
16
scripts/ph
|
|
@ -1,3 +1,15 @@
|
||||||
#!/bin/bash
|
#!/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}" &
|
||||||
|
|
|
||||||
16
scripts/xh
16
scripts/xh
|
|
@ -1,3 +1,15 @@
|
||||||
#!/bin/bash
|
#!/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}" &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue