Breaking change: remove font and theme settings
I am removing settings for core configuration to reduce "magic" in Doom. set! is meant for cross-configuring modules that may or may not be enabled. There should be no such concern for configuring Doom core. From now on, change your fonts with: (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-big-font (font-spec :family "Fira Mono" :size 19))
This commit is contained in:
parent
f063a08891
commit
5a09d539ba
3 changed files with 44 additions and 57 deletions
|
@ -1,26 +1,43 @@
|
|||
;;; private/hlissner/init.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; I've swapped these keys on my keyboard
|
||||
(setq x-super-keysym 'alt
|
||||
x-alt-keysym 'meta
|
||||
|
||||
user-mail-address "henrik@lissner.net"
|
||||
user-full-name "Henrik Lissner")
|
||||
|
||||
;; An extra measure to prevent the flash of unstyled mode-line while Emacs is
|
||||
;; booting up (when Doom is byte-compiled).
|
||||
(setq-default mode-line-format nil)
|
||||
|
||||
;; host-specific settings
|
||||
(pcase (system-name)
|
||||
;; ("triton")
|
||||
((or "proteus" "halimede")
|
||||
;; smaller screen, smaller fonts
|
||||
(set! :font "Fira Mono" :size 10)
|
||||
(set! :variable-font "Fira Sans" :size 10)
|
||||
(set! :unicode-font "DejaVu Sans Mono" :size 10)
|
||||
(setq +doom-modeline-height 25))
|
||||
;; ("nereid")
|
||||
;; ("io")
|
||||
;; ("sao")
|
||||
)
|
||||
;; I've swapped these keys on my keyboard
|
||||
(setq x-super-keysym 'alt
|
||||
x-alt-keysym 'meta)
|
||||
|
||||
(setq user-mail-address "henrik@lissner.net"
|
||||
user-full-name "Henrik Lissner")
|
||||
|
||||
(setq doom-big-font (font-spec :family "Fira Mono" :size 19))
|
||||
|
||||
(pcase system-name
|
||||
((or "halimede" "proteus")
|
||||
(setq-default line-spacing 1)
|
||||
|
||||
(setq doom-font (font-spec :family "kakwa kakwafont" :size 12)
|
||||
doom-variable-pitch-font (font-spec :family "kakwa kakwafont")
|
||||
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 " ")
|
||||
|
||||
(add-hook! doom-big-font-mode
|
||||
(setq +doom-modeline-height (if doom-big-font-mode 37 23))))
|
||||
|
||||
(_
|
||||
(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"))
|
||||
|
||||
(add-hook! doom-big-font-mode
|
||||
(setq +doom-modeline-height (if doom-big-font-mode 37 29)))))
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; <https://github.com/hlissner/emacs-doom-theme>
|
||||
(def-package! doom-themes
|
||||
:config
|
||||
(set! :theme 'doom-one)
|
||||
(unless doom-theme (setq doom-theme 'doom-one))
|
||||
|
||||
;; Ensure `doom/reload-load-path' reloads common faces
|
||||
(defun +doom|reload-theme ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue