diff options
Diffstat (limited to '')
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | dot_config/sway/config.d/20_swaysome | 7 | ||||
-rw-r--r-- | dot_emacs | 24 | ||||
m--------- | dot_emacs.d/lisp/mu4e-goodies | 0 | ||||
-rw-r--r-- | dot_mbsyncrc.tmpl | 10 |
5 files changed, 42 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules index cd7e4fc..c9a8f13 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "dot_zsh/powerlevel10k"] path = dot_zsh/powerlevel10k url = https://github.com/romkatv/powerlevel10k.git +[submodule "dot_emacs.d/lisp/mu4e-goodies"] + path = dot_emacs.d/lisp/mu4e-goodies + url = git@github.com:panjie/mu4e-goodies.git diff --git a/dot_config/sway/config.d/20_swaysome b/dot_config/sway/config.d/20_swaysome index f928bba..4c0846d 100644 --- a/dot_config/sway/config.d/20_swaysome +++ b/dot_config/sway/config.d/20_swaysome @@ -52,10 +52,17 @@ bindsym --to-code { # Move focused container to previous output $mod+Shift+o exec "swaysome prev-output" + # Move focused group to up/down/left/right output + $mod+Ctrl+k exec "sway move workspace to output up" + $mod+Ctrl+j exec "sway move workspace to output down" + $mod+Ctrl+l exec "sway move workspace to output right" + $mod+Ctrl+h exec "sway move workspace to output left" + # Move focused workspace group to next output $mod+Alt+o exec "swaysome workspace-group-next-output" # Move focused workspace group to previous output $mod+Alt+Shift+o exec "swaysome workspace-group-prev-output" + } # Init workspaces for every screen @@ -35,6 +35,8 @@ (default-input-method "TeX") (user-full-name "Ryan Kavanagh") (user-mail-address "rak@rak.ac") + (mail-user-agent 'mu4e-user-agent) + (read-mail-command 'mu4e) :custom-face (default ((t (:family "Iosevka"))))) @@ -553,8 +555,16 @@ Otherwise split the current paragraph into one sentence per line." (use-package message :custom + (message-kill-buffer-on-exit t) (message-citation-line-function 'message-insert-formatted-citation-line) - (message-send-mail-function 'message-send-mail-with-sendmail)) + (message-send-mail-function 'message-send-mail-with-sendmail) + :hook + (message-mode . turn-off-auto-fill) + (message-mode . visual-line-mode) + (message-mode . visual-fill-column-mode)) + +(use-package message-view-patch + :ensure t) (use-package minibuffer :config @@ -680,9 +690,15 @@ Otherwise split the current paragraph into one sentence per line." (message-signature-file . "~/.signature") (sendmail-program . "msmtp"))))) :custom + ;; flowed text in messages + (mu4e-compose-format-flowed t) + ;; This is set to 't' to avoid mail syncing issues when using mbsync (mu4e-change-filenames-when-moving t) + ;; compose messages in new frame + (mu4e-compose-in-new-frame t) + ;; hide long list off addresses from main view and silence warnings ;; about mu4e not recognizing user-mail-address against regexp (mu4e-main-hide-personal-addresses t) @@ -696,6 +712,9 @@ Otherwise split the current paragraph into one sentence per line." ("/gmail/INBOX" . ?g) ("/queensu/INBOX" . ?q)))) +;; provided through git/chezmoi +(use-package mu4e-goodies-tags) + (use-package oauth2 :ensure t) @@ -1173,6 +1192,9 @@ If not, issue a warning." :config (add-to-list 'vc-handled-backends 'git)) +(use-package visual-fill-column + :ensure t) + (use-package wc-mode :ensure t) diff --git a/dot_emacs.d/lisp/mu4e-goodies b/dot_emacs.d/lisp/mu4e-goodies new file mode 160000 +Subproject 254768ec469bb9de6c7051b62faeb5dda56d15f diff --git a/dot_mbsyncrc.tmpl b/dot_mbsyncrc.tmpl index 864974c..97e281b 100644 --- a/dot_mbsyncrc.tmpl +++ b/dot_mbsyncrc.tmpl @@ -34,7 +34,7 @@ AuthMechs PLAIN SSLType IMAPS IMAPAccount rak -Host imap.rak.ac +Host hades.rak.ac User rak Pass {{ .password.rakac }} AuthMechs PLAIN @@ -152,6 +152,14 @@ Expunge Near Patterns * !Archive !Virtual !Virtual/* !INBOX !Lists !Lists/* Sync All +Channel rak-archive +Far :rak-remote: +Near :rak-maildir: +Create Both +Expunge Near +Patterns Archive +Sync All + Group rak Channel rak-inbox Channel rak-lists |