commit bdc269b38efb30dadfdcd376e8f19bec29194dcb
parent 9d4661ce3b306389a04bd629a8a2d132aeb11837
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Fri, 19 Jun 2020 02:15:35 -0400
Update aerc config
Diffstat:
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
@@ -130,16 +130,16 @@ header-layout=From,To,Cc,Bcc,Subject
# 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/local/share/aerc/filters/hldiff
-text/html=/usr/local/share/aerc/filters/html
+text/html=~/.config/aerc/filters/html
text/*=awk -f /usr/local/share/aerc/filters/plaintext
-#image/*=catimg -w $(tput cols) -
+image/*=sxiv
[triggers]
#
# Triggers specify commands to execute when certain events occur.
#
# Example:
-new-email=exec notify-send "New email from %n" "%s"<Enter>
+new-email=exec notify-send -i mail-message-new-symbolic "New email from %n" "%s"<Enter>
[templates]
# Templates are used to populate email bodies automatically.
diff --git a/.config/aerc/filters/html b/.config/aerc/filters/html
@@ -0,0 +1,10 @@
+#!/bin/sh
+# aerc filter which runs lynx using socksify (from the dante package) to prevent
+# any phoning home by rendered emails
+export SOCKS_SERVER="127.0.0.1:1"
+exec socksify lynx \
+ -stdin \
+ -force_html \
+ -width=$(tput cols) \
+ -dump \
+ -number_links
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
@@ -165,7 +165,7 @@
max_icon_size = 32
# Paths to default icons.
- icon_path = /usr/share/icons/Papirus-Dark/16x16/actions/:/usr/share/icons/Papirus-Dark/16x16/devices/:/usr/share/icons/Papirus-Dark/symbolic/status/:/usr/share/icons/Papirus-Dark/symbolic/devices/
+ icon_path = /usr/share/icons/Papirus-Dark/16x16/actions/:/usr/share/icons/Papirus-Dark/16x16/devices/:/usr/share/icons/Papirus-Dark/symbolic/status/:/usr/share/icons/Papirus-Dark/symbolic/devices/:/usr/share/icons/Papirus-Dark/symbolic/actions/
### History ###
# Should a notification popped up from history be sticky or timeout