|
|
@@ -62,21 +62,26 @@ Now the font proper selection
|
|
|
(variable-font (chicken/select-first-available-font '("PragmataPro Liga" "PragmataPro" "Segoe UI")))
|
|
|
(unicode-font (chicken/select-first-available-font '("PragmataPro Liga" "PragmataPro" "Segoe UI")))
|
|
|
(serif-font (chicken/select-first-available-font '("Iosevka Slab" "Courrier New" "Courrier New"))))
|
|
|
- (setq doom-font (font-spec
|
|
|
- :family code-font
|
|
|
- :size base-size)
|
|
|
- doom-variable-pitch-font (font-spec
|
|
|
- :family variable-font
|
|
|
- :size base-size)
|
|
|
- doom-unicode-font (font-spec
|
|
|
- :family unicode-font
|
|
|
- :size base-size)
|
|
|
- doom-big-font (font-spec
|
|
|
- :family code-font
|
|
|
- :size (* base-size 2))
|
|
|
- doom-serif-font (font-spec
|
|
|
- :family serif-font
|
|
|
- :size base-size)))
|
|
|
+ (setq doom-font
|
|
|
+ (font-spec
|
|
|
+ :family code-font
|
|
|
+ :size base-size)
|
|
|
+ doom-variable-pitch-font
|
|
|
+ (font-spec
|
|
|
+ :family variable-font
|
|
|
+ :size base-size)
|
|
|
+ doom-unicode-font
|
|
|
+ (font-spec
|
|
|
+ :family unicode-font
|
|
|
+ :size base-size)
|
|
|
+ doom-big-font
|
|
|
+ (font-spec
|
|
|
+ :family code-font
|
|
|
+ :size (* base-size 2))
|
|
|
+ doom-serif-font
|
|
|
+ (font-spec
|
|
|
+ :family serif-font
|
|
|
+ :size base-size)))
|
|
|
#+END_SRC
|
|
|
|
|
|
A note about the serif font: I can't set the styling set for a given font on
|
|
|
@@ -98,7 +103,8 @@ dividers (located in the ~window-divider~ group) are inheriting from the
|
|
|
~vertical-border~ face, so editing the later allows me to quickly change the
|
|
|
border color if needed.
|
|
|
#+BEGIN_SRC emacs-lisp :tangle no
|
|
|
-(set-face-attribute 'vertical-border nil :foreground "red")
|
|
|
+(custom-set-faces!
|
|
|
+ '(vertical-border :foreground "red"))
|
|
|
#+END_SRC
|
|
|
*** STRT Doom Modeline
|
|
|
I'm trying to slightly tweak the modeline to show some info like the word count
|
|
|
@@ -128,7 +134,8 @@ visual noise.
|
|
|
I like my line numbers in italic, for no sensible reason. It just looks good to
|
|
|
me.
|
|
|
#+begin_src emacs-lisp
|
|
|
-(set-face-italic 'line-number t)
|
|
|
+(custom-set-faces!
|
|
|
+ '(line-number :slant italic))
|
|
|
#+end_src
|
|
|
* Python
|
|
|
** Python-x
|