summaryrefslogtreecommitdiff
path: root/modules/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/emacs')
-rw-r--r--modules/emacs/README.org5
1 files changed, 4 insertions, 1 deletions
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.