From c95d1b73da6d4c97fc48bf5f7b3c73cbb16681b5 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Tue, 1 Oct 2024 09:20:44 -0300 Subject: more stuff --- modules/emacs/README.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/emacs') diff --git a/modules/emacs/README.org b/modules/emacs/README.org index 2d2acc9..cb7c4da 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -31,7 +31,7 @@ You can also use it as a ~nixosModule~, in order to add additional packages like #+begin_src emacs-lisp :tangle yes (use-package modus-themes) ;; (use-package kanagawa-theme) -(load-theme 'tango t) +(load-theme 'wheatgrass t) (add-hook 'after-make-frame-functions (lambda (frame) @@ -394,8 +394,10 @@ Actual mu4e definition #+begin_src emacs-lisp :tangle yes (use-package mu4e :bind ("C-c m" . mu4e) + :config :custom (read-mail-command 'mu4e) + (mu4e-sent-messages-behavior 'delete) (mu4e-index-cleanup nil) (mu4e-index-lazy-check t) (mu4e-use-fancy-chars (display-graphic-p)) @@ -431,6 +433,7 @@ Actual mu4e definition ((university-p msg) "/university/[Gmail]/Lixeira") ((work-p msg) "/work/[Gmail]/Trash")))) :config + (add-hook 'mu4e-compose-mode-hook #'(lambda () (auto-save-mode -1))) (add-to-list 'display-buffer-alist `( ,(regexp-quote mu4e-main-buffer-name) display-buffer-same-window)) ; to avoid opening in full frame everytime. -- cgit v1.2.3