Browse Source

Use custom instead of setq

main
parent
commit
9e7ea7a581
  1. 38
      modules/writing.el

38
modules/writing.el

@ -10,8 +10,7 @@
(use-package org-roam
:hook (after-init . org-roam-mode)
:custom
(org-roam-directory org-directory)
:custom (org-roam-directory org-directory)
(org-roam-encrypt-files t))
(use-package org-roam-server
@ -87,25 +86,17 @@
(use-package mu4e
:load-path "/usr/share/emacs/site-lisp/mu4e"
:config
(setq mu4e-change-filenames-when-moving t
mu4e-update-interval (* 5 60) ;; Every 5 minutes.
mu4e-get-mail-command "mbsync -a"
mu4e-maildir "~/.cache/mail"
mu4e-compose-signature
(concat "Chris Hayward\n"
:custom (mu4e-maildir "~/.cache/mail")
(mu4e-update-interval (* 5 60))
(mu4e-get-mail-command "mbsync -a")
(mu4e-compose-format-flowed t)
(mu4e-change-filenames-when-moving t)
(message-send-mail-function 'smtpmail-send-it)
(mml-secure-openpgp-signers '("37AB1CB72B741E478CA026D43025DCBD46F81C0F"))
(mu4e-compose-signature (concat "Chris Hayward\n"
"https://chrishayward.xyz\n"))
;; Ensure plain text scales for all devices.
(setq mu4e-compose-format-flowed t)
;; GPG signing key for outbound mail.
(setq mml-secure-openpgp-signers '("37AB1CB72B741E478CA026D43025DCBD46F81C0F"))
:config
(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)
(setq message-send-mail-function 'smtpmail-send-it)
;; Configure mail account(s).
(setq mu4e-contexts
(list
;; Main
@ -124,10 +115,8 @@
(smtpmail-stream-type . starttls))))))
(use-package mu4e-alert
:custom
(mu4e-alert-set-default-style 'libnotify)
:config
(mu4e-alert-enable-notifications)
:custom (mu4e-alert-set-default-style 'libnotify)
:config (mu4e-alert-enable-notifications)
(mu4e-alert-enable-mode-line-display))
(dotfiles/leader
@ -145,8 +134,7 @@
"a" '(org-agenda :which-key "Agenda"))
(use-package gif-screencast
:custom
(gif-screencast-output-directory (concat dotfiles/home "docs/images/")))
:custom (gif-screencast-output-directory (concat dotfiles/home "docs/images/")))
(dotfiles/leader
"s" '(:ignore t :which-key "Screencast")

Loading…
Cancel
Save