From 3950860dd4096bb89e0b80bc60d7e2d52c0c1c1c Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Mon, 12 Jun 2023 19:47:17 -0800 Subject: [PATCH] eaf: don't pre-load stuff --- lisp/mitch-packages.el | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 06f4a12..d646309 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -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))))) - ) -(use-package eaf-browser - :elpaca nil - :after eaf - :custom - (eaf-browser-continue-where-left-off t) - (eaf-browser-enable-adblocker t)) + (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))) (provide 'mitch-packages) ;;; mitch-packages.el ends here