diff options
| -rw-r--r-- | .emacs.d/init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 7914ad5..1b2d2f6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -3,10 +3,14 @@ ;; Add configuration modules to load path (add-to-list 'load-path '"~/.dotfiles/.emacs.d/modules") +;; --------- Core Utilities --------------------- +(defun et-is-desktop-p () + (string-match-p "desktop" (system-name))) + ;; --------- Core Variables --------------------- (defvar et-monospace-font "Hack Nerd Font Mono" "The font used by default and for any monospaced font usage.") -(defvar et-monospace-font-size 160) +(defvar et-monospace-font-size (if (et-is-desktop-p) 192 160)) ;; --------- Modules ---------------------------- (require 'et-package) |