Fix up aerc and dunst to notify correctly

- Notify on new messages
- Ignore notifications in my RSS inbox, they're not important
- Also tweak keybinds in message view
This commit is contained in:
Trysdyn Black 2024-03-11 21:48:25 -07:00
parent 554b62b40b
commit de5b4b88a8
3 changed files with 12 additions and 5 deletions

View file

@ -16,6 +16,7 @@ sort = date
next-message-on-delete = true
stylesets-dirs = /home/trysdyn/.config/aerc/stylesets:/usr/share/aerc/stylesets/
styleset-name = base16
new-message-bell = false
[viewer]
pager = bat -p
@ -40,3 +41,6 @@ text/* = awk -f /usr/lib/aerc/filters/plaintext
template-dirs = /usr/share/aerc/templates/
quoted-reply = quoted_reply
forwards = forward_as_body
[hooks]
mail-received = notify-send -a aerc "New mail in $AERC_FOLDER from $AERC_FROM_NAME" "$AERC_SUBJECT"

View file

@ -70,9 +70,11 @@ H = :toggle-headers<Enter>
J = :next<Enter>
K = :prev<Enter>
i = |feh -<Enter>
i = |swayimg -<Enter>
u = |urlscan<Enter>
o = :open<Enter>
[compose]
# Keybindings used when the embedded terminal is not selected in the compose
# view

View file

@ -60,10 +60,6 @@
corner_radius = 0
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = true
# %%base16_template: dunst##default %%
@ -86,3 +82,8 @@ separator_color = "#f0f0f0"
foreground = "#c0c0c0"
# %%base16_template_end%%
[RSS]
appname = "aerc"
summary = "New mail in RSS from*"
format = ""