summaryrefslogtreecommitdiff
path: root/.w3m/config
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-10-16 09:50:22 -0500
committerluxagraf <sng@luxagraf.net>2024-10-16 09:50:22 -0500
commit5bbe6a566b85ad838a31ea8ee0d120bbeb460a1e (patch)
tree74222e47e408937dbe93640c956378f6c1d7002a /.w3m/config
parentd2e87e2d9f8ee2fd014087dafdc8c7cbd229a088 (diff)
added jrnl shortcuts
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