 ;; https://github.com/hrs/dotfiles/blob/master/emacs/.emacs.d/configuration.org
 ;; thanks man!
 
-(if (eq system-type 'darwin)
-    (setq hrs/default-font "Menlo")
-  (setq hrs/default-font "DejaVu Sans Mono"))
-(setq hrs/default-font-size 14)
+(setq hrs/default-font "DejaVu Sans Mono")
+(setq hrs/default-font-size 18)
 (setq hrs/current-font-size hrs/default-font-size)
 (setq hrs/font-change-increment 1.2)
+
+(when (on-macos)
+  (setq hrs/default-font "SF Mono"))
 
 (defun hrs/font-code ()
   "Return a string representing the current font (like \"Inconsolata-14\")."


(setq mac-command-modifier 'meta
      mac-right-option-modifier 'none
      mac-option-modifier 'meta)

;; Keep a ref to the actual file-name-handler
(defvar default-file-name-handler-alist file-name-handler-alist)

;; -*- lexical-binding: t; -*-

(defun on-macos nil
  "Returns t if running on macOS"
  (eq system-type 'darwin))

;; defaults write -g NSUserKeyEquivalents -dict-add 'Emoji & Symbols' '\0'

(unless (functionp 'json-serialize)
  (error "**** you don't have a json-serialize built-in function ****"))
