summaryrefslogtreecommitdiffhomepage
path: root/eww.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-11-04 19:22:46 +0000
committerjao <jao@gnu.org>2021-11-04 19:22:46 +0000
commit7fd203ccf8a8bd213839f53dc00bc14736fec83c (patch)
tree4176d6f8a3f2522f764136b19be9ade34ec82ec7 /eww.org
parent8c36386738066142ed6ca44541de77ee1f16c1c8 (diff)
downloadelibs-7fd203ccf8a8bd213839f53dc00bc14736fec83c.tar.gz
elibs-7fd203ccf8a8bd213839f53dc00bc14736fec83c.tar.bz2
nits
Diffstat (limited to 'eww.org')
-rw-r--r--eww.org20
1 files changed, 11 insertions, 9 deletions
diff --git a/eww.org b/eww.org
index 5284102..33dfefb 100644
--- a/eww.org
+++ b/eww.org
@@ -114,6 +114,16 @@
#+end_src
* Package
#+begin_src emacs-lisp
+ (use-package shr
+ :custom ((shr-width nil)
+ (shr-use-colors nil)
+ (shr-use-fonts nil)
+ (shr-max-width 130)
+ (shr-blocked-images nil)
+ (shr-inhibit-images t)
+ (shr-max-image-proportion 1.0)
+ (shr-hr-line ?―)))
+
(use-package eww
:demand t
:custom ((eww-browse-url-new-window-is-tab nil)
@@ -121,15 +131,7 @@
(eww-header-line-format nil)
(eww-form-checkbox-selected-symbol "☒")
(eww-auto-rename-buffer 'title)
- (eww-buffer-name-length 180)
- ;; (eww-search-prefix "https://search.brave.com/search?q=")
- (shr-width nil)
- (shr-use-colors nil)
- (shr-use-fonts nil)
- (shr-max-width 130)
- (shr-blocked-images nil)
- (shr-inhibit-images t)
- (shr-max-image-proportion 0.9))
+ (eww-buffer-name-length 180))
:config
(with-eval-after-load "org" (require 'ol-eww nil t))