From 7fd203ccf8a8bd213839f53dc00bc14736fec83c Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 4 Nov 2021 19:22:46 +0000 Subject: nits --- data/eshell.alias | 23 ----------------------- eww.org | 20 +++++++++++--------- 2 files changed, 11 insertions(+), 32 deletions(-) delete mode 100644 data/eshell.alias diff --git a/data/eshell.alias b/data/eshell.alias deleted file mode 100644 index 21bc8ae..0000000 --- a/data/eshell.alias +++ /dev/null @@ -1,23 +0,0 @@ -alias u eshell-up $1 -alias pk eshell-up-peek $1 -alias up eshell-up $1 -alias ls ls -F $* -alias .. cd .. -alias ... cd ../.. -alias lp42 lp -o number-up=4 -o sides=two-sided-long-edge $* -alias lp22 lp -o number-up=2 -o sides=two-sided-short-edge $* -alias lp4 lp -o number-up=4 $* -alias lp2 lp -o number-up=2 $* -alias ef find-file-other-frame $1 -alias eo find-file-other-window $1 -alias e find-file $1 -alias ll ls -l $* -alias la ls -a $* -alias clear recenter 0 -alias v view-file $1 -alias vf view-file-other-frame $1 -alias vo view-file-other-window $1 -alias more vo $1 -alias dir ls -Lla|grep ^d -alias df dfrs -alias bmatic borgmatic -c ~/etc/config/daemons/backups/borgmatic.yml $* 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)) -- cgit v1.2.3