about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/config.el
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/emacs.d/config.el')
-rw-r--r--users/glittershark/emacs.d/config.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el
index e06f6a5d6d..29d46e24e0 100644
--- a/users/glittershark/emacs.d/config.el
+++ b/users/glittershark/emacs.d/config.el
@@ -4,14 +4,17 @@
 (setq x-super-keysym 'alt
       x-alt-keysym   'meta)
 
-(setq user-mail-address "griffin@urbint.com"
+(setq user-mail-address "root@gws.fyi"
       user-full-name    "Griffin Smith")
 
-(setq doom-font (font-spec :family "Meslo LGSDZ Nerd Font" :size 14)
-      doom-big-font (font-spec :family "Meslo LGSDZ Nerd Font" :size 24)
-      doom-big-font-increment 5
-      doom-variable-pitch-font (font-spec :family "DejaVu Sans")
-      doom-unicode-font (font-spec :family "Meslo LGSDZ Nerd Font"))
+(let ((font-family (pcase system-type
+                     ('darwin "MesloLGSDZ NF")
+                     ('gnu/linux "Meslo LGSDZ Nerd Font"))))
+  (setq doom-font (font-spec :family font-family :size 14)
+        doom-big-font (font-spec :family font-family :size 24)
+        doom-big-font-increment 5
+        doom-variable-pitch-font (font-spec :family "DejaVu Sans")
+        doom-unicode-font (font-spec :family font-family)))
 
 (require 's)
 
@@ -57,8 +60,6 @@
 
   (flycheck-mode))
 
-(setq exec-path (append exec-path '("/home/grfn/.cargo/bin")))
-
 (after! cargo
   (setq cargo-process--custom-path-to-bin "/home/grfn/.cargo/bin/cargo"))