From 10b56a188ec432c150104a6e46b9496c95c4f526 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 3 Sep 2025 10:44:03 +0200 Subject: Adapt configuration so it is compatible with Windows --- init.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index a6652c8..39333c9 100644 --- a/init.el +++ b/init.el @@ -3,7 +3,9 @@ ;; Font (add-to-list 'default-frame-alist - '(font . "JetBrainsMono Nerd Font 12")) + `(font . ,(if (eq system-type 'windows-nt) + "JetBrainsMono NF 12" + "JetBrainsMono Nerd Font 12"))) ;; Add line numbers (setq display-line-numbers t) @@ -80,7 +82,12 @@ (vundo-compact-display t)) ;; Catppuccin theme -(load (locate-user-emacs-file "theme.el")) +(if (eq system-type 'windows-nt) + (use-package catppuccin-theme + :config ;; On Windows I am happy with perma dark mode + (setq catppuccin-flavor 'mocha) + (load-theme 'catppuccin :no-confirm)) + (load (locate-user-emacs-file "theme.el"))) ;; (use-package doom-modeline ;; :hook (after-init . doom-modeline-mode)) -- cgit v1.3.1