aerc: allow config sections to be lines (#7280)
There are some sections that are order sensitive, e.g. filters, so just lines will preserve that order. Fixes: #6059
This commit is contained in:
parent
7d9e3c35f0
commit
57d1027e1e
3 changed files with 47 additions and 16 deletions
|
|
@ -1,5 +1,15 @@
|
|||
# Generated by Home Manager.
|
||||
|
||||
[filters]
|
||||
text/plain=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"
|
||||
.headers=colorize
|
||||
|
||||
[general]
|
||||
unsafe-accounts-conf = true
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,18 @@
|
|||
"ui:account=Test" = {
|
||||
sidebar-width = 1337;
|
||||
};
|
||||
|
||||
# https://github.com/nix-community/home-manager/issues/6059
|
||||
filters = ''
|
||||
text/plain=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"
|
||||
.headers=colorize
|
||||
'';
|
||||
};
|
||||
|
||||
stylesets = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue