From 8da18e14fdec07c12af4f5d69e9b6da1f391ca62 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Mon, 9 Mar 2020 11:50:16 -0400 Subject: [PATCH] Added conditional support for font sizing --- emacs/doom.d/config.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/emacs/doom.d/config.el b/emacs/doom.d/config.el index 0adbc60..6d82d90 100644 --- a/emacs/doom.d/config.el +++ b/emacs/doom.d/config.el @@ -1,8 +1,11 @@ ;;; ~/.doom.d/config.el -*- lexical-binding: t; -*- ;; Set font -(setq doom-font (font-spec :family "FuraCode NF" :size 15)) - +(setq doom-font (font-spec :family "FuraCode NF" :size 12)) +(pcase (system-name) + ("zuk" + (font-put doom-font :size 15)) ;; Wayland support for high HDPI scaling has some issues. Increasing the font size works +) ;; Orgmode ;; Set orgmode dir (custom-set-variables '(org-directory "~/org"))