I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.7 KiB

4 years ago
4 years ago
4 years ago
  1. (use-package org-superstar
  2. :hook (org-mode . org-superstar-mode))
  3. (use-package mu4e
  4. :load-path "/usr/share/emacs/site-lisp/mu4e"
  5. :config
  6. (setq mu4e-change-filenames-when-moving t
  7. mu4e-update-interval (* 5 60) ;; Every 5 minutes.
  8. mu4e-get-mail-command "mbsync -a"
  9. mu4e-maildir "~/.cache/mail"
  10. mu4e-compose-signature
  11. (concat "Chris Hayward\n"
  12. "https://chrishayward.xyz\n"))
  13. ;; Ensure plain text scales for all devices.
  14. (setq mu4e-compose-format-flowed t)
  15. ;; GPG signing key for outbound mail.
  16. (setq mml-secure-openpgp-signers '("37AB1CB72B741E478CA026D43025DCBD46F81C0F"))
  17. (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)
  18. (setq message-send-mail-function 'smtpmail-send-it)
  19. ;; Configure mail account(s).
  20. (setq mu4e-contexts
  21. (list
  22. ;; Main
  23. ;; chris@chrishayward.xyz
  24. (make-mu4e-context
  25. :name "Main"
  26. :match-func
  27. (lambda (msg)
  28. (when msg
  29. (string-prefix-p "/Main" (mu4e-message-field msg :maildir))))
  30. :vars
  31. '((user-full-name . "Christopher James Hayward")
  32. (user-mail-address . "chris@chrishayward.xyz")
  33. (smtpmail-smtp-server . "mail.chrishayward.xyz")
  34. (smtpmail-smtp-service . 587)
  35. (smtpmail-stream-type . starttls))))))
  36. (use-package mu4e-alert
  37. :custom
  38. (mu4e-alert-set-default-style 'libnotify)
  39. :config
  40. (mu4e-alert-enable-notifications)
  41. (mu4e-alert-enable-mode-line-display))
  42. (dotfiles/leader
  43. "m" '(mu4e :which-key "Mail"))
  44. (setq org-agenda-files '("~/.local/source/secrets/org/"))
  45. (dotfiles/leader
  46. "a" '(org-agenda :which-key "Agenda"))
  47. (use-package org-journal
  48. :config
  49. (setq org-journal-dir (concat dotfiles/home "/daily/")
  50. org-journal-file-type 'daily
  51. org-journal-file-format "%Y-%m-%d.org"
  52. org-journal-enable-agenda-integration t
  53. org-icalendar-store-UID t
  54. org-icalendar-include-todo "all"
  55. org-icalendar-combined-agenda-file (concat dotfiles/home "calender.ics")))
  56. (dotfiles/leader
  57. "f" '(:ignore t :which-key "Journal")
  58. "ff" '(org-journal-new-entry :which-key "New")
  59. "fs" '(org-journal-search :which-key "Search")
  60. "fl" '(org-journal-open-next-entry :which-key "Next")
  61. "fh" '(org-journal-open-previous-entry :which-key "Previous"))
  62. (use-package ox-hugo
  63. :after ox)
  64. (use-package gif-screencast
  65. :custom
  66. (gif-screencast-output-directory (concat dotfiles/home "images/")))
  67. (dotfiles/leader
  68. "s" '(:ignore t :which-key "Screencast")
  69. "ss" '(gif-screencast-start-or-stop :which-key "Start / Stop")
  70. "sp" '(gif-screencast-toggle-pause :which-key "Pause"))
  71. (use-package ox-reveal
  72. :after ox
  73. :custom (org-reveal-root "https://cdn.jsdelivr.net/reveal.js/3.9.2/"))