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.conf25
1 files changed, 12 insertions, 13 deletions
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
index 0b55543..2dd82e2 100644
--- a/.config/aerc/aerc.conf
+++ b/.config/aerc/aerc.conf
@@ -9,21 +9,25 @@ border-char-vertical="│"
 border-char-horizontal="─"
 styleset-name=r
 
+threading-enabled=true
+mouse-enabled=true
+
 [ui:folder~^(Drafts|Sent Items)$]
 index-columns = flags:4,to<20%,subject,date>=
 column-to = {{index (.To | names) 0}}
 
-[viewer]
-# Default: less -R
-# 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
+[ui:account=notmuch]
+index-columns = flags:4,name<20%,subject,date>=
+column-tags = {{.Labels | join " " }}
+
+[statusline]
+column-left=[{{.Account}}][Q:{{exec "msmtp-queue-stat" "" | replace `\s+$` "" }}] {{.StatusInfo}}
 
+[viewer]
 always-show-mime=true
 
 [compose]
-address-book-cmd=sh -c 'grep -i --color=never %s $HOME/mail/addressbook'
+address-book-cmd=sh -c 'grep -i -m 100 --color=never %s $HOME/mail/addressbook'
 file-picker-cmd=porta filechooser
 
 [filters]
@@ -31,11 +35,6 @@ file-picker-cmd=porta filechooser
 #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/html=html | colorize
 text/plain=wrap | colorize
@@ -44,4 +43,4 @@ message/delivery-status=colorize
 message/rfc822=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"
+mail-received=fyi -a aerc "[$AERC_ACCOUNT/$AERC_FOLDER] new mail from $AERC_FROM_NAME" "$AERC_SUBJECT"