aerc+nixOS: Use @SHAREDIR@ instead of hardcoded /usr/share/aerc path

old-yadm
earnest ma 2021-08-08 11:43:42 -04:00
parent 31b1192260
commit 208f140cd7
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ next-message-on-delete=true
# list of directories.
#
# default: /usr/local/share/aerc/stylesets/
stylesets-dirs=/usr/local/share/aerc/stylesets/
stylesets-dirs=@SHAREDIR@/stylesets/
# Sets the styleset to use for the aerc ui elements.
#
@ -163,9 +163,9 @@ address-book-cmd=khard email --parsable --search-in-source-files --remove-first-
# You can also match on non-mimetypes, by prefixing with the header to match
# 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/*=awk -f /usr/local/share/aerc/filters/plaintext
subject,~^\[PATCH=awk -f @SHAREDIR@/filters/hldiff
text/html=@SHAREDIR@/filters/html
text/*=awk -f @SHAREDIR@/filters/plaintext
#image/*=catimg -w $(tput cols) -
[triggers]
@ -187,7 +187,7 @@ new-email=exec notify-send "aerc: you have a new email"
# list of directories.
#
# default: /usr/local/share/aerc/templates/
template-dirs=/home/earne/.config/aerc/templates:/usr/local/share/aerc/templates/
template-dirs=/home/earne/.config/aerc/templates:@SHAREDIR@/templates/
# The template to be used for quoted replies.
#