From 43ece3902a4a969296fba63ef60dedebf2af1af8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 25 Mar 2024 16:07:16 -0400 Subject: [PATCH] emacs: added catppuccin theme --- home/shell/default.nix | 1 + home/shell/emacs.el | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home/shell/default.nix b/home/shell/default.nix index c8ae7a83..4b3e9649 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -25,6 +25,7 @@ enable = true; extraPackages = ( epkgs: (with epkgs; [ better-defaults + catppuccin-theme markdown-mode nix-mode org diff --git a/home/shell/emacs.el b/home/shell/emacs.el index 9bb6acff..2cdbd71a 100644 --- a/home/shell/emacs.el +++ b/home/shell/emacs.el @@ -1,3 +1,7 @@ +; Load catppuccin theme. +(load-theme 'catppuccin :no-confirm) +(setq catppuccin-flavor 'latte) ;; or 'latte, 'macchiato, or 'mocha + ; 4 spaces > tabs. (setq-default indent-tabs-mode nil) (setq-default tab-width 4) @@ -41,4 +45,4 @@ (setq org-directory "~/Sync/org-roam/") (setq org-roam-directory (file-truename "~/Sync/org-roam")) (setq org-roam-dailies-directory "journal/") -(org-roam-db-autosync-mode) +(org-roam-db-autosync-mode) \ No newline at end of file