summaryrefslogtreecommitdiff
path: root/.w3m/config
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/config')
-rw-r--r--.w3m/config12
1 files changed, 8 insertions, 4 deletions
diff --git a/.w3m/config b/.w3m/config
index ad5e3d1..19a43eb 100644
--- a/.w3m/config
+++ b/.w3m/config
@@ -42,9 +42,9 @@ extbrowser xdg-open %s
extbrowser2 surf %s &
# Append url to $NOTES
-extbrowser3 url=%s out_file='/home/lxf/inbox/new.txt' && echo $url >> $out_file && echo $url saved to $out_file && read s
+extbrowser3 url=%s out_file=$NOTES && echo @url $url >> $out_file \
extbrowser4 url=%s && jrnl @link $url && echo $url saved to journal && read s
-
+ && echo $url saved to $out_file && read he
# Copy url to the tmux or the X paste buffer
extbrowser7 url=%s && printf %s "$url" | xargs tmux set-buffer
extbrowser8 url=%s && printf %s "$url" | xsel && printf %s "$url" | xsel -b &
@@ -57,8 +57,12 @@ bgextviewer 1
## Network settings
# Modify user-agent string and languages accepted
-user_agent
-accept_language en;q=1.0
+user_agent Mozilla/5.0 (Windows NO 10.0; rev:91.0) Gecko/20100101 Firefox91.0
+no_referer 0
+cross_origin_referer 0
+accept_language en-US,en;q=0.5
+accept_encoding gzip, deflate
+accept_media text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
# auto-populate with current URL in URL open command
default_url 1