From 63ded486a33649dd9d061a836c675e749f1dbe7c Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Thu, 4 Feb 2021 20:38:25 -0500 Subject: [PATCH] Set $BROWSER --- README.org | 6 ++++++ modules/desktop.el | 2 ++ 2 files changed, 8 insertions(+) diff --git a/README.org b/README.org index f6a770a..7b45c11 100644 --- a/README.org +++ b/README.org @@ -645,6 +645,12 @@ Create a keybinding to open the mail dashboard with =SPC m=. *** Browser +Write out the ~$BROWSER~ environment variable. + +#+begin_src emacs-lisp +(setenv "BROWSER" dotfiles/browser) +#+end_src + Launch a browser with =SPC b=. #+begin_src emacs-lisp diff --git a/modules/desktop.el b/modules/desktop.el index 8a94e33..cfb8b00 100644 --- a/modules/desktop.el +++ b/modules/desktop.el @@ -36,6 +36,8 @@ (dotfiles/leader "m" '(mu4e :which-key "Mail")) +(setenv "BROWSER" dotfiles/browser) + ;; (dotfiles/leader ;; "b" '(dotfiles/run-in-background dotfiles/browser :which-key "Browser"))