summary refs log tree commit diff
path: root/.config/aerc
diff options
context:
space:
mode:
Diffstat (limited to '.config/aerc')
-rw-r--r--.config/aerc/aerc.conf15
-rw-r--r--.config/aerc/binds.conf4
2 files changed, 13 insertions, 6 deletions
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
index fa7b885..e5966a9 100644
--- a/.config/aerc/aerc.conf
+++ b/.config/aerc/aerc.conf
@@ -19,7 +19,7 @@ timestamp-format=2006-01-02 03:04 PM
 # Width of the sidebar, including the border.
 #
 # Default: 20
-sidebar-width=25
+sidebar-width=32
 
 #
 # Message to display when viewing an empty folder.
@@ -86,7 +86,8 @@ styleset-name=default
 #
 # Default: less -R
 # pager=less -g -i -M -R -s -S -w -X
-pager=more
+# pager=nvimpager --noplugin -c 'set nowrap'
+pager=bat --style=plain --color=always --language=email --wrap=character
 
 #
 # If an email offers several versions (multipart), you can configure which
@@ -132,7 +133,7 @@ completion-popovers=true
 # Specifies the command to run the editor with. It will be shown in an embedded
 # terminal, though it may also launch a graphical window if the environment
 # supports it. Defaults to $EDITOR, or vi.
-editor=
+#editor=
 
 #
 # Default header fields to display when composing a message. To display
@@ -165,10 +166,14 @@ address-book-cmd=
 # against (non-case-sensitive) and a comma, e.g. subject,text will match a
 # subject which contains "text". Use header,~regex to match against a regex.
 subject,~^\[PATCH=awk -f /usr/share/aerc/filters/hldiff
+
 text/html=/usr/share/aerc/filters/html
+application/pdf=/home/robert/.config/aerc/filters/pdf
+
 text/*=awk -f /usr/share/aerc/filters/plaintext
 #image/*=catimg -w $(tput cols) -
-application/pdf=/home/robert/.config/aerc/filters/pdf
+# image/*=img2sixel --height $(($(tput lines)*20)) -
+image/*=swayimg /dev/stdin
 
 [triggers]
 #
@@ -179,7 +184,7 @@ application/pdf=/home/robert/.config/aerc/filters/pdf
 
 #
 # Executed when a new email arrives in the selected folder
-new-email=exec notify-send -a aerc "new mail from %n" "%s"
+# new-email=exec notify-send -a aerc -i /usr/share/icons/mdi/scalable/email-plus.svg "new mail from %n" "%s"
 
 [templates]
 # Templates are used to populate email bodies automatically.
diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf
index 97e5414..65cdc15 100644
--- a/.config/aerc/binds.conf
+++ b/.config/aerc/binds.conf
@@ -36,6 +36,8 @@ V = :mark -v<Enter>
 dd = :mv Trash<Enter>
 # D = :delete<Enter>
 a = :archive year<Enter>
+<Space> = :read<Enter>
+<C-Space> = :unread<Enter>
 U = :filter -u<Enter>
 fc = :filter ''<Enter>
 
@@ -43,7 +45,6 @@ C = :compose<Enter>
 
 rr = :reply -a<Enter>
 rq = :reply -aq<Enter>
-Rr = :reply<Enter>
 Rq = :reply -q<Enter>
 
 c = :cf<space>
@@ -66,6 +67,7 @@ A = :prompt 'Really archive?' archive year<Enter>
 f = :forward<Enter>
 rr = :reply -a<Enter>
 rq = :reply -aq<Enter>
+rQ = :reply -aQ<Enter>
 Rr = :reply<Enter>
 Rq = :reply -q<Enter>