aboutsummaryrefslogtreecommitdiffstats
path: root/doom
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-20 12:51:19 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-20 12:51:19 +0100
commit09e2e65ad8c969d2aa90d520967c61bb06ea3cb9 (patch)
treefc99331f92d4f4cf5449393879efda23f29c7f22 /doom
parente62d015d0da8b54e23e2036ff5f3405e13b6ec40 (diff)
downloaddotfiles-09e2e65ad8c969d2aa90d520967c61bb06ea3cb9.tar.gz
dotfiles-09e2e65ad8c969d2aa90d520967c61bb06ea3cb9.zip
Add if-statement around font-spec
Diffstat (limited to 'doom')
-rw-r--r--doom/config.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/doom/config.el b/doom/config.el
index 7c15266..e89fc59 100644
--- a/doom/config.el
+++ b/doom/config.el
@@ -1,6 +1,7 @@
(setq doom-font (font-spec :family "Iosevka" :size 16))
-(setq doom-variable-pitch-font (font-spec :family "Alegreya" :size 12))
-(setq doom-serif-font (font-spec :family "Alegreya" :size 12))
+(when (eq system-type 'darwin)
+ (setq doom-variable-pitch-font (font-spec :family "Alegreya" :size 12))
+ (setq doom-serif-font (font-spec :family "Alegreya" :size 12)))
(setq doom-theme 'modus-operandi)