diff options
| author | unknown <adrijan.bjedov@gmail.com> | 2025-09-03 10:44:03 +0200 |
|---|---|---|
| committer | unknown <adrijan.bjedov@gmail.com> | 2025-09-03 10:44:03 +0200 |
| commit | 10b56a188ec432c150104a6e46b9496c95c4f526 (patch) | |
| tree | f4ce3e48cc37bc9db9a5b51144c1ae4979c8f55b /init.el | |
| parent | 944a53b123677596c173f98a5bbe0e4c0c43e8d3 (diff) | |
Adapt configuration so it is compatible with Windows
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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)) |
