From cbc212b31189ea2fae9bb7f509f7a9cfa35a4b18 Mon Sep 17 00:00:00 2001 From: paul-loedige <59517210+ploedige@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:59:07 +0100 Subject: [PATCH] added Mail sync for paul@ploedige.com --- config.org | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index b790bdf..df6940e 100644 --- a/config.org +++ b/config.org @@ -1636,6 +1636,21 @@ dropdown_groups_info.append((name, ), ['mod1','control'],'k')) #+end_src +***** GTD Agenda +#+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes +name = 'GTD Agenda' +dropdown_groups_info.append((name, + DropDown(name, + 'emacsclient -c -e \'(org-gtd-engage)\'', + height = 0.5, + width = 0.8, + x = 0.1, + on_focus_lost_hide=True, + opacity=1, + match = Match(wm_class='emacs') + ), + ['mod1','control'],'g')) +#+end_src ***** Add ScratchPad to Groups #+begin_src python :tangle ~/.config/qtile/config.py :mkdirp yes groups.append(ScratchPad("scratchpad", @@ -2496,6 +2511,10 @@ Authentication information will be stored in a encrypted file that is part of my (setq auth-sources '((:source "~/.authinfo.gpg"))) #+end_src + +#+RESULTS: +| :source | ~/.authinfo.gpg | + *** Start Daemon on Startup #+begin_src shell :tangle ~/.autostart.sh emacs --daemon & @@ -2545,11 +2564,11 @@ and configure it mu #+end_src *** isync Installation -#+begin_src shell :tangle pkg-list.txt +#+begin_src config :tangle pkg-list.txt isync #+end_src *** msmtp Installation -#+begin_src shell :tangle pkg-list.txt +#+begin_src config :tangle pkg-list.txt msmtp #+end_src **** recommended config @@ -2562,6 +2581,43 @@ msmtp message-send-mail-function #'message-send-mail-with-sendmail)) #+end_src +*** mbsync Configuration +**** paul@ploedige.com +#+begin_src config :tangle ~/.mbsyncrc +# Account Information +IMAPAccount ploedige +Host imap.mail.yahoo.com +User ploedige@yahoo.com +PassCmd "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.dotfiles/.mbsync-pw-ploedige.gpg" +AuthMechs LOGIN +TLSType IMAPS + +# Remote Storage +IMAPStore ploedige-remote +Account ploedige + +# Local Storage +MaildirStore ploedige-local +Path ~/mail/ploedige/ +Inbox ~/mail/ploedige/INBOX +SubFolders Verbatim + +# Connections +Channel ploedige +Far :ploedige-remote: +Near :ploedige-local: +Patterns * +Create Both +Expunge Both +SyncState * +#+end_src +***** create mail directory if not yet exists +#+begin_src shell :tangle update.sh +MAILDIR_PATH="$HOME/mail/ploedige" +if [ ! -d "$MAILDIR_PATH" ]; then + mkdir -p "$MAILDIR_PATH" +fi +#+end_src ** Org Mode *** Dependencies #+begin_src conf :tangle pkg-list.txt