eaf: don't pre-load stuff

This commit is contained in:
MitchMarq42 2023-06-12 19:47:17 -08:00
parent c44aac5cdf
commit 3950860dd4

View File

@ -1143,6 +1143,7 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html"
:pre-build (("python" "install-eaf.py"
"--install" "pdf-viewer" "browser"
"--ignore-sys-deps")))
:commands (eaf-open-browser eaf-open-url-at-point)
:config (add-to-list 'load-path (expand-file-name "app/" eaf-source-dir))
(if (and (string= (getenv "XDG_CURRENT_DESKTOP") "Hyprland")
(featurep 'hypop))
@ -1171,15 +1172,13 @@ This is redefined for use with `hypop' library because multiple Emacs frames may
(frame-x (truncate (/ (car coordinate) (frame-scale-factor))))
(frame-y (truncate (/ (cadr coordinate) (frame-scale-factor)))))
(list frame-x frame-y)))
(t
(list 0 0)))))
)
(t (list 0 0)))))
(use-package eaf-browser
:elpaca nil
:after eaf
:custom
(eaf-browser-continue-where-left-off t)
(eaf-browser-enable-adblocker t))
(eaf-browser-enable-adblocker t)))
(provide 'mitch-packages)
;;; mitch-packages.el ends here