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"))