i am the one who writes bash scirpts

This commit is contained in:
Sakooooo 2024-07-13 21:41:24 +04:00
parent f3a7858e87
commit 0202bc76f4
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1004,32 +1004,32 @@ its over the machines took over guys can i get my likes now
** mu4e ** mu4e
GNU patch review metho dor sometihng idk GNU patch review metho dor sometihng idk
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package mu4e (use-package mu4e
:config :config
;; mu4e syncing issue with isync ;; mu4e syncing issue with isync
(setq mu4e-change-filenames-when-moving t) (setq mu4e-change-filenames-when-moving t)
(setq mu4e-update-interval (* 10 60)) (setq mu4e-update-interval (* 10 60))
(setq mu4e-get-mail-command "mbsync -a") (setq mu4e-get-mail-command "mbsync -a")
(setq mu4e-maildir "~/Mail") (setq mu4e-maildir "~/Mail")
(setq mu4e-contexts (setq mu4e-contexts
(list (list
;; outlook ;; outlook
(make-mu4e-context (make-mu4e-context
:name "Outlook" :name "Outlook"
:match-func :match-func
(lambda (msg) (lambda (msg)
(when msg (when msg
(string-prefix-p "/Outlook" (mu4e-message-field msg :maildir)))) (string-prefix-p "/Outlook" (mu4e-message-field msg :maildir))))
:vars `((user-mail-address . (let (shell-command-to-string "pass Microsoft | awk 'FNR == 2{gsub(\"login: \", \"\"); gsub(/ /, \"\"); print}'"))) :vars `((user-mail-address . (shell-command-to-string "pass Microsoft | awk 'BEGIN {ORS=\"\"} FNR == 2{gsub(\"login: \", \"\"); gsub(/ /, \"\"); print}'"))
(user-full-name . "Sako") (user-full-name . "Sako")
(mu4e-drafts-folder . "/Outlook/Drafts") (mu4e-drafts-folder . "/Outlook/Drafts")
(mu4e-sent-folder . "/Outlook/Sent") (mu4e-sent-folder . "/Outlook/Sent")
(mu4e-refile-folder . "/Outlook/Inbox") (mu4e-refile-folder . "/Outlook/Inbox")
(mu4e-trash-folder . "/Outlook/Deleted"))))) (mu4e-trash-folder . "/Outlook/Deleted")))))
) )
#+end_src #+end_src
* Org * Org
#+begin_src emacs-lisp #+begin_src emacs-lisp