(defun gx/set-appearance--linux () (set-face-attribute 'default nil :height 130)) (defun gx/set-appearance--mac () (set-face-attribute 'default nil :height 160) (custom-set-variables '(initial-frame-alist '((fullscreen . maximized))))) (defun gx/set-appearance () (when (display-graphic-p) (when *is-a-linux* (gx/set-appearance--linux)) (when *is-a-mac* (gx/set-appearance--mac)))) (add-hook 'after-init-hook (lambda () (gx/set-appearance))) (when (gx/maybe-require-package 'atom-one-dark-theme) (load-theme 'atom-one-dark t)) (provide 'init-appearance)