Catppuccin

This commit is contained in:
Zelong Kuang
2025-11-16 20:46:00 +11:00
parent 7d10eb4cbb
commit 8a7a911295
3 changed files with 18 additions and 2 deletions

View File

@@ -1,10 +1,13 @@
(setq doom-font (font-spec :family "Maple Mono" :size 20)) (setq doom-font (font-spec :family "Maple Mono" :size 20))
(add-to-list 'default-frame-alist '(height . 53)) (add-to-list 'default-frame-alist '(height . 53))
(add-to-list 'default-frame-alist '(width . 120)) (add-to-list 'default-frame-alist '(width . 120))
(setq doom-theme 'doom-vibrant) (setq doom-theme 'catppuccin)
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)
(setq org-directory "~/org/") (setq org-directory "~/org/")
(setq catppuccin-flavor 'mocha)
(catppuccin-reload)
(after! yasnippet (after! yasnippet
(defun my-yas-try-expanding-auto-snippets () (defun my-yas-try-expanding-auto-snippets ()
(when yas-minor-mode (when yas-minor-mode

View File

@@ -1,13 +1,24 @@
* My doom config * My doom config
** Appearance settings ** Appearance settings
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq doom-font (font-spec :family "Maple Mono" :size 20)) (setq doom-font (font-spec :family "Maple Mono" :size 20))
(add-to-list 'default-frame-alist '(height . 53)) (add-to-list 'default-frame-alist '(height . 53))
(add-to-list 'default-frame-alist '(width . 120)) (add-to-list 'default-frame-alist '(width . 120))
(setq doom-theme 'doom-vibrant) (setq doom-theme 'catppuccin)
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)
(setq org-directory "~/org/") (setq org-directory "~/org/")
#+end_src #+end_src
*** Themes
Catppuccin
#+begin_src emacs-lisp :tangle packages.el
(package! catppuccin-theme)
#+end_src
#+begin_src emacs-lisp
(setq catppuccin-flavor 'mocha)
(catppuccin-reload)
#+end_src
** Plugins ** Plugins
*** Yasnippet *** Yasnippet

View File

@@ -1,3 +1,5 @@
(package! catppuccin-theme)
(package! copilot (package! copilot
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el"))) :recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))