private/hlissner: minor refactor

This commit is contained in:
Henrik Lissner 2017-12-16 23:45:06 -05:00
parent fadc8bdfc5
commit d7a4d6fc39
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 40 additions and 28 deletions

View file

@ -14,7 +14,9 @@
(setq doom-big-font (font-spec :family "Fira Mono" :size 19))
(pcase (system-name)
((or "halimede" "proteus")
("proteus"
;; My 13" laptop has very little screen estate, so we use a bitmap font
;; there. For Doom, that means we need to take up less space!
(setq-default line-spacing 1)
(setq doom-font (font-spec :family "kakwa kakwafont" :size 12)
@ -22,32 +24,29 @@
doom-unicode-font (font-spec :family "UT Ttyp0")
;; ui/doom-modeline
+doom-modeline-height 23
+doom-modeline-bar-width 1
;; `doom-themes'
doom-neotree-enable-variable-pitch nil
doom-neotree-project-size 1.2
doom-neotree-line-spacing 0
doom-neotree-folder-size 1.0
doom-neotree-chevron-size 0.6
org-ellipsis "")
(custom-set-faces
'(doom-modeline-bar ((t (:background nil)))))
doom-neotree-chevron-size 0.6)
(add-hook! doom-big-font-mode
(setq +doom-modeline-height (if doom-big-font-mode 37 23))))
(setq +doom-modeline-height (if doom-big-font-mode 37 23)))
;; No highlighted bar in the mode-line
(setq +doom-modeline-bar-width 1)
(custom-set-faces '(doom-modeline-bar ((t (:background nil))))))
(_
;; Everywhere else, I have big displays and plenty of space, so use it!
(setq doom-font (font-spec :family "Fira Mono" :size 12)
doom-variable-pitch-font (font-spec :family "Fira Sans")
doom-unicode-font (font-spec :family "DejaVu Sans Mono"))
doom-unicode-font (font-spec :family "DejaVu Sans Mono")
org-ellipsis "")
;; Since Fira Mono doesn't have an italicized variant, highlight it instead
;; Fira Mono doesn't have italics, so we highlight it instead.
(add-hook! doom-post-init
(set-face-attribute 'italic nil
:weight 'ultra-light
:foreground "#ffffff"
:background (doom-color 'current-line)))
(set-face-attribute 'italic nil :weight 'ultra-light :foreground "#ffffff"))
(add-hook! doom-big-font-mode
(setq +doom-modeline-height (if doom-big-font-mode 37 29)))))