summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2026-11-09 21:43:00 +0100
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2026-11-09 21:43:00 +0100
commitd201f5cf1cbc288267921de51b3f07663af93442 (patch)
tree241e0272ccba02c59585a574fe2abaa73a21479a /.emacs.d
parentd422a4dc8b3d0ed5be48ac39881e4be1c5f93e50 (diff)
Use Iosevka fonts
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/early-init.el7
-rw-r--r--.emacs.d/init.el22
2 files changed, 7 insertions, 22 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el
index d9f67ed..084bce8 100644
--- a/.emacs.d/early-init.el
+++ b/.emacs.d/early-init.el
@@ -1,2 +1,9 @@
;; -*- lexical-binding: t; -*-
+(setq modus-themes-mixed-fonts t
+ modus-themes-variable-pitch-ui t
+ modus-themes-disable-other-themes t)
+(set-face-attribute 'default nil :family "Iosevka" :height 140)
+(set-face-attribute 'fixed-pitch nil :family "Iosevka Extended")
+(set-face-attribute 'fixed-pitch-serif nil :family "Iosevka Slab Extended")
+(set-face-attribute 'variable-pitch nil :family "Iosevka Etoile")
(load-theme 'modus-operandi-tinted :no-confirm)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 7053d42..83bfb8f 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -8,10 +8,6 @@
(use-package emacs
:ensure t
:init
- (set-frame-font (pcase system-type
- ('gnu/linux "APL387 Unicode 14")
- ('darwin "APL387 Unicode 18"))
- nil t)
(when (eq system-type 'darwin)
(setq mac-right-option-modifier 'none))
(setq inhibit-splash-screen t)
@@ -62,21 +58,3 @@
(use-package org-roam-ui
:ensure t
)
-
-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-safe-themes
- '("138ed99a323c1b93c52f4b3726caf2bc634b79a76fa63a3d3aff76394db5f28f"
- "10e330880269244ae45ae9e02fe6f55766da9e15036e7c7f07d7ce228195deb5"
- default))
- '(package-selected-packages '(ef-themes ghostel magit mediawiki org-roam org-roam-ui)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )