summary refs log tree commit diff
path: root/.config/aerc/aerc.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/aerc/aerc.conf')
-rw-r--r--.config/aerc/aerc.conf58
1 files changed, 33 insertions, 25 deletions
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
index d5cca92..e6faea7 100644
--- a/.config/aerc/aerc.conf
+++ b/.config/aerc/aerc.conf
@@ -1,42 +1,50 @@
 # vim: ft=conf
 
 [ui]
-next-message-on-delete=true
-
-[ui:folder=Sent]
-index-format=%D %-40.40r %Z %s
+dirlist-left={{if eq .Folder "INBOX"}}󰶊 {{end}}{{if eq .Folder "Trash"}}󰩺 {{end}}{{if eq .Folder "Archive"}}󰀼 {{end}}{{if eq .Folder "Spam?"}}󰨰 {{end}}{{if eq .Folder "Sent Items"}}󰒊 {{end}}{{if eq .Folder "Drafts"}}󰤌 {{end}}{{.Folder}}
+dirlist-tree=true
 
-[ui:account=gnzler]
-styleset-name=gnzler
-
-[ui:account=hu]
-styleset-name=hu
+next-message-on-delete=true
+border-char-vertical="│"
+border-char-horizontal="─"
+styleset-name=r
 
-[ui:account=moji]
-styleset-name=moji
+[ui:folder=Sent Items]
+index-columns = date<20,to<40,flags>4,subject<*
+column-date = {{.DateAutoFormat .Date.Local}}
+column-to = {{.To | persons | join ", "}}
+column-flags = {{.Flags | join ""}}
+column-subject = {{.ThreadPrefix}}{{.Subject}}
 
 [viewer]
 # Default: less -R
-# pager=less -g -i -M -R -s -S -w -X
-# pager=nvimpager --noplugin -c 'set nowrap'
-#pager=bat --style=plain --color=always --language=email --wrap=character
-
+# pager=page
+# pager=less -g -i -M -s -S -w -X
+pager=less -c -F -i -R -s -~ --mouse
+# pager=bat --style=plain --color=always --language=email --wrap=character
 
 always-show-mime=true
 
+[compose]
+address-book-cmd = known-emails "%s"
+file-picker-cmd = porta filechooser
+
 [filters]
-application/pdf=pdf
-image/*=swayimg /dev/stdin
+#subject,~Git(hub|lab)=lolcat -f
+#from,thatguywhodoesnothardwraphismessages=fmt -w 72 | colorize
+X-GitHub-Recipient,robertgzr=github-review-fix | colorize
+
+# application/pdf=pdf
+# image/*=vv
+# text/*=bat -fP --file-name="$AERC_FILENAME"
+application/x-sh=bat -fP -l sh
 
 # keep defaults around
-text/plain=colorize
+text/html=html | colorize
+text/plain=wrap | colorize
 text/calendar=calendar
 message/delivery-status=colorize
 message/rfc822=colorize
-# text/html=pandoc -f html -t plain | colorize
-text/html=html | colorize
-text/*=bat -fP --file-name="$AERC_FILENAME"
-application/x-sh=bat -fP -l sh
-#image/*=catimg -w $(tput cols) -
-#subject,~Git(hub|lab)=lolcat -f
-#from,thatguywhodoesnothardwraphismessages=fmt -w 72 | colorize
+
+[hooks]
+mail-received = notify-send -i /usr/share/icons/mdi/scalable/email-fast-outline.svg -a aerc "[$AERC_ACCOUNT/$AERC_FOLDER] new mail from $AERC_FROM_NAME" "$AERC_SUBJECT"