diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-09-20 12:51:19 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-09-20 12:51:19 +0100 |
commit | 09e2e65ad8c969d2aa90d520967c61bb06ea3cb9 (patch) | |
tree | fc99331f92d4f4cf5449393879efda23f29c7f22 /doom | |
parent | e62d015d0da8b54e23e2036ff5f3405e13b6ec40 (diff) | |
download | dotfiles-09e2e65ad8c969d2aa90d520967c61bb06ea3cb9.tar.gz dotfiles-09e2e65ad8c969d2aa90d520967c61bb06ea3cb9.zip |
Add if-statement around font-spec
Diffstat (limited to 'doom')
-rw-r--r-- | doom/config.el | 5 |
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) |