summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-04-13 06:49:44 +0300
committerThanos Apollo <[email protected]>2023-04-13 06:49:44 +0300
commitcfdc7b6bd31f384d3720869b1333be5c26e20e5c (patch)
treea23fdab81bdb5833482da287545041ffdbfb8bd8
parenta0900d46630f5d9c891d1f68491c5a784063c6ec (diff)
emacs: Set default browser as mullvad
-rw-r--r--.emacs.d/init.el3
-rwxr-xr-xorg/emacs.org5
2 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index c3704fa..cbb05a8 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,6 +1,9 @@
(defvar is-zeus (equal (system-name) "zeus"))
(defvar is-hephaestus (equal (system-name) "hephaestus"))
+(setq browse-url-browser-function 'browse-url-generic
+ browse-url-generic-program "mullvad-browser")
+
;; When guix t, load emacs packages
(when (or is-zeus
is-hephaestus
diff --git a/org/emacs.org b/org/emacs.org
index 538bc28..8b79e4c 100755
--- a/org/emacs.org
+++ b/org/emacs.org
@@ -9,6 +9,11 @@ Check the ~$HOSTNAME~, if it's one of my devices running GuixSD.
(defvar is-zeus (equal (system-name) "zeus"))
(defvar is-hephaestus (equal (system-name) "hephaestus"))
#+end_src
+Setup default browser as ~mullvad-browser~
+#+begin_src emacs-lisp
+ (setq browse-url-browser-function 'browse-url-generic
+ browse-url-generic-program "mullvad-browser")
+#+end_src
* Setting up Packages
** Setup for GuixSD machines
#+begin_src emacs-lisp