aboutsummaryrefslogtreecommitdiffstats
path: root/.w3m/cgi-bin
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/cgi-bin')
-rwxr-xr-x.w3m/cgi-bin/fzf_surfraw_tmux.cgi2
-rwxr-xr-x.w3m/cgi-bin/restore_session.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/.w3m/cgi-bin/fzf_surfraw_tmux.cgi b/.w3m/cgi-bin/fzf_surfraw_tmux.cgi
index 11516fd..1c1bafb 100755
--- a/.w3m/cgi-bin/fzf_surfraw_tmux.cgi
+++ b/.w3m/cgi-bin/fzf_surfraw_tmux.cgi
@@ -34,7 +34,7 @@ PREFIX=$(surfraw -elvi | grep -v 'LOCAL\|GLOBAL'| fzf -e | awk '{print $1}')
if [ "$PREFIX" = "" ]; then exit; fi
# get user input
-read -r -e -p " $PREFIX >> Enter Your Search Keyword: " INPUT
+read -r " $PREFIX >> Enter Your Search Keyword: " INPUT
# print proper url and copy to primary clipboard (aka highlighted clipboard) and tmux clipboard
# surfraw -p "$PREFIX" "$INPUT" | xsel -p
diff --git a/.w3m/cgi-bin/restore_session.cgi b/.w3m/cgi-bin/restore_session.cgi
index 4e30311..2262211 100755
--- a/.w3m/cgi-bin/restore_session.cgi
+++ b/.w3m/cgi-bin/restore_session.cgi
@@ -29,7 +29,7 @@ mkdir -p "$HOME/.w3m/bin"
RESTORE_SESSSION="$HOME/.w3m/bin/w3mlastsession"
# add shell header
echo "#!/usr/bin/env sh" > "$RESTORE_SESSSION"
-echo "torsocks w3m -graph \\" >> "$RESTORE_SESSSION"
+echo "proxychains4 -q -f ~/proxies/ice/proxychains.conf w3m -o auto_image=FALSE -graph \\" >> "$RESTORE_SESSSION"
# remove dupes without sorting, add -N flag at beginning and append trailing slash to each url
awk '!x[$0]++' "$HOME/.w3m/RestoreSession.txt" | while read -r line ; do echo "-N '$line' \\" >> "$RESTORE_SESSSION" ; done
# echo "2>/dev/null" >> "$RESTORE_SESSSION"