summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-08-23 14:18:25 +0200
committercashmere <cashmere@autistici.org>2026-08-23 14:18:25 +0200
commite8b0abed0711cefcd0c06b8e12e3a7a9224fb329 (patch)
treead99f2f528d6ba464ad9237e7a97f3b79d9805b9 /config.org
parent32bccd667ae70130cf58929dfa07a255f38e03cf (diff)
downloademacs-e8b0abed0711cefcd0c06b8e12e3a7a9224fb329.tar.gz
md: 2026-08-23T14:18:31+02:00
Diffstat (limited to 'config.org')
-rw-r--r--config.org21
1 files changed, 14 insertions, 7 deletions
diff --git a/config.org b/config.org
index aeb6442..a4002b1 100644
--- a/config.org
+++ b/config.org
@@ -42,6 +42,8 @@
Set per-host in the gitignored `local.el'.")
(defvar cashmere/frame-alpha-background nil
"Per-host frame opacity, or nil for the Emacs default.")
+ (defvar cashmere/font-family "Maple Mono NF"
+ "Per-host default monospace font family.")
(defvar cashmere/font-height 180
"Per-host default font height in tenths of a point.")
(defvar cashmere/theme nil
@@ -1236,10 +1238,13 @@ Use =org-modern= only for quiet structural markers in Org files. GTD labels, tim
(org-modern-internal-target nil)
(org-modern-radio-target nil)
:custom-face
- (org-modern-symbol
- ((t (:family "Maple Mono NF" :inherit shadow :weight regular))))
(org-modern-block-name
- ((t (:inherit (shadow fixed-pitch) :height 0.85 :weight regular)))))
+ ((t (:inherit (shadow fixed-pitch) :height 0.85 :weight regular))))
+ :config
+ (set-face-attribute 'org-modern-symbol nil
+ :family cashmere/font-family
+ :inherit 'shadow
+ :weight 'regular))
#+end_src
** org-agenda
@@ -3457,9 +3462,9 @@ Native =undo-redo= (via =evil-undo-system='undo-redo=); just raise the undo limi
:variable-pitch-height 1.12
:line-spacing 0.16)
(t
- :default-family "Maple Mono NF"
+ :default-family ,cashmere/font-family
:default-weight regular
- :fixed-pitch-family "Maple Mono NF"
+ :fixed-pitch-family ,cashmere/font-family
:variable-pitch-family "SF Pro Text"
:variable-pitch-weight regular
:variable-pitch-height 1.04
@@ -3470,7 +3475,7 @@ Native =undo-redo= (via =evil-undo-system='undo-redo=); just raise the undo limi
:mode-line-inactive-height 0.92
:header-line-family "SFProText Nerd Font"
:header-line-weight regular
- :line-number-family "Maple Mono NF"
+ :line-number-family ,cashmere/font-family
:line-number-height 0.9
:bold-weight semibold
:line-spacing 0.08)))
@@ -3487,7 +3492,7 @@ Native =undo-redo= (via =evil-undo-system='undo-redo=); just raise the undo limi
;; redisplay. This avoids fallback-font geometry and a visible layout jump;
;; Fontaine's global theme then supplies the remaining face attributes.
(add-to-list 'default-frame-alist
- `(font . ,(format "Maple Mono NF-%g"
+ `(font . ,(format "%s-%g" cashmere/font-family
(/ cashmere/font-height 10.0))))
#+end_src
@@ -4799,6 +4804,8 @@ reset is unnecessary, so do the handler resolution ourselves and skip
(use-package mu4e-alert
:ensure t
:after mu4e
+ :custom
+ (mu4e-alert-modeline-formatter #'my/mode-line-mu4e-formatter)
:config
;; Use libnotify for desktop notifications (notify-send / swaync)
(mu4e-alert-set-default-style 'libnotify)