Add theme and font settings
This commit is contained in:
parent
b771997105
commit
d7fa7c228d
1 changed files with 22 additions and 0 deletions
|
@ -43,6 +43,28 @@ overlay.")
|
|||
`doom/reload-theme').")
|
||||
|
||||
|
||||
;; Settings
|
||||
(def-setting! :theme (theme)
|
||||
`(unless doom-theme
|
||||
(setq doom-theme ,theme)))
|
||||
|
||||
(def-setting! :font (family &rest spec)
|
||||
`(unless doom-font
|
||||
(setq doom-font (font-spec :family ,family ,@spec))))
|
||||
|
||||
(def-setting! :variable-pitch-font (family &rest spec)
|
||||
`(unless doom-variable-pitch-font
|
||||
(setq doom-variable-pitch-font (font-spec :family ,family ,@spec))))
|
||||
|
||||
(def-setting! :big-font (family &rest spec)
|
||||
`(unless doom-big-font
|
||||
(setq doom-big-font (font-spec :family ,family ,@spec))))
|
||||
|
||||
(def-setting! :unicode-font (family &rest spec)
|
||||
`(unless doom-unicode-font
|
||||
(setq doom-unicode-font (font-spec :family ,family ,@spec))))
|
||||
|
||||
|
||||
(setq-default
|
||||
bidi-display-reordering nil ; disable bidirectional text for tiny performance boost
|
||||
blink-matching-paren nil ; don't blink--too distracting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue