mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 06:05:37 +00:00
fix: new aerc has different directory for filters
This commit is contained in:
parent
8cc158221d
commit
82a1954c26
@ -154,20 +154,16 @@
|
|||||||
general.unsafe-accounts-conf = true;
|
general.unsafe-accounts-conf = true;
|
||||||
viewer = { pager = "${pkgs.less}/bin/less -R"; };
|
viewer = { pager = "${pkgs.less}/bin/less -R"; };
|
||||||
filters = {
|
filters = {
|
||||||
"text/plain" =
|
"text/plain" = "${pkgs.aerc}/libexec/aerc/filters/colorize";
|
||||||
"${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/share/aerc/filters/colorize";
|
|
||||||
"text/calendar" =
|
"text/calendar" =
|
||||||
"${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/share/aerc/filters/calendar";
|
"${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/libexec/aerc/filters/calendar";
|
||||||
"text/html" =
|
"text/html" =
|
||||||
"${pkgs.aerc}/share/aerc/filters/html"; # Requires w3m, dante
|
"${pkgs.aerc}/libexec/aerc/filters/html | ${pkgs.aerc}/libexec/aerc/filters/colorize"; # Requires w3m, dante
|
||||||
# "text/html" =
|
|
||||||
# "${pkgs.aerc}/share/aerc/filters/html | ${pkgs.aerc}/share/aerc/filters/colorize";
|
|
||||||
# "text/*" =
|
# "text/*" =
|
||||||
# ''${pkgs.bat}/bin/bat -fP --file-name="$AERC_FILENAME "'';
|
# ''${pkgs.bat}/bin/bat -fP --file-name="$AERC_FILENAME "'';
|
||||||
"message/delivery-status" =
|
"message/delivery-status" =
|
||||||
"${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/share/aerc/filters/colorize";
|
"${pkgs.aerc}/libexec/aerc/filters/colorize";
|
||||||
"message/rfc822" =
|
"message/rfc822" = "${pkgs.aerc}/libexec/aerc/filters/colorize";
|
||||||
"${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/share/aerc/filters/colorize";
|
|
||||||
"application/x-sh" = "${pkgs.bat}/bin/bat -fP -l sh";
|
"application/x-sh" = "${pkgs.bat}/bin/bat -fP -l sh";
|
||||||
"application/pdf" = "${pkgs.zathura}/bin/zathura -";
|
"application/pdf" = "${pkgs.zathura}/bin/zathura -";
|
||||||
"audio/*" = "${pkgs.mpv}/bin/mpv -";
|
"audio/*" = "${pkgs.mpv}/bin/mpv -";
|
||||||
|
Loading…
Reference in New Issue
Block a user