home | added aerc
This commit is contained in:
parent
532a840b56
commit
a26005d42d
2 changed files with 88 additions and 0 deletions
87
home/common/aerc.nix
Normal file
87
home/common/aerc.nix
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
{ config, pkgs, ... }: {
|
||||
programs.aerc = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
ui = {
|
||||
# styleset-name = "dracula";
|
||||
reverse-msglist-order = " true";
|
||||
select-last-message = "true";
|
||||
msglist-scroll-offset = " 1";
|
||||
threading-enabled = " true";
|
||||
threading-by-subject = " true";
|
||||
};
|
||||
|
||||
# viewer = { alternatives = "text/html,text/plain"; };
|
||||
|
||||
compose = {
|
||||
focus-body = "true";
|
||||
address-book-cmd = "khard email --parsable -- %s";
|
||||
file-picker-cmd = "lf %s";
|
||||
};
|
||||
|
||||
filters = {
|
||||
"text/plain" = "colorize";
|
||||
"text/calendar" = "calendar";
|
||||
"message/delivery-status" = "colorize";
|
||||
"message/rfc822" = "colorize";
|
||||
"text/html" = "! html";
|
||||
".headers" = "colorize";
|
||||
};
|
||||
|
||||
multipart-converters = {
|
||||
"text/html" = "links -html-numbered-links 1 -dump -force-html %s";
|
||||
};
|
||||
|
||||
openers = {
|
||||
"application/octet-stream" = "catdoc %s";
|
||||
"application/ms-tnef" = "tnef -w %s";
|
||||
# "application/msword" = "catdoc %s";
|
||||
# "application/octet-stream" = "unzip -v %s";
|
||||
# "application/pdf" = "pdftotext %s -";
|
||||
"application/pdf" = "mutt_bgrun pdfview %s";
|
||||
# "application/vnd.ms-excel" = "excel2text %s";
|
||||
"application/x-vCalendar" = "mutt-remind";
|
||||
"application/x-zip-compressed" = "unzip -v %s";
|
||||
# "application/vnd.openxmlformats-officedocument.wordprocessingml.document" =
|
||||
# "docx2txt %s";
|
||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.document" =
|
||||
"mutt_bgrun libreoffice %s";
|
||||
# "application/msword" = "catdoc %s";
|
||||
"application/msword" = "mutt_bgrun libreoffice %s";
|
||||
# "application/vnd.msword" = "catdoc %s";
|
||||
"application/vnd.msword" = "mutt_bgrun libreoffice %s";
|
||||
# "application/excel" = "excel2text %s";
|
||||
"application/excel" = "mutt_bgrun libreoffice %s";
|
||||
# "application/msexcel" = "excel2text %s";
|
||||
"application/msexcel" = "mutt_bgrun libreoffice %s";
|
||||
# "application/vnd.ms-excel" = "excel2text %s";
|
||||
"application/vnd.ms-excel" = "mutt_bgrun libreoffice %s";
|
||||
# "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" =
|
||||
# "excel2text %s";
|
||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" =
|
||||
"mutt_bgrun libreoffice %s";
|
||||
# "application/x-excel" = "excel2text %s";
|
||||
"application/x-excel" = "mutt_bgrun libreoffice %s";
|
||||
# "application/x-msexcel" = "excel2text %s";
|
||||
"application/x-msexcel" = "mutt_bgrun libreoffice %s";
|
||||
# "application/ms-Excel" = "excel2text %s";
|
||||
"application/ms-Excel" = "mutt_bgrun libreoffice %s";
|
||||
# "application/vnd.ms-powerpoint" = "ppt2text %s";
|
||||
"application/vnd.ms-powerpoint" = "mutt_bgrun libreoffice %s";
|
||||
# "application/x-mspowerpoint" = "ppt2text %s";
|
||||
"application/x-mspowerpoint" = "mutt_bgrun libreoffice %s";
|
||||
# "application/ppt" = "ppt2text %s";
|
||||
"application/ppt" = "mutt_bgrun libreoffice %s";
|
||||
# "application/x-loimpress" = "ppt2text %s";
|
||||
"application/x-loimpress" = "mutt_bgrun libreoffice %s";
|
||||
"application/zip" = "unzip -v %s";
|
||||
"image/*" = "mutt_bgrun imv %s";
|
||||
"text/directory" = "mutt.vcard.filter";
|
||||
"text/html" = "mutt_bgrun /home/don/bin/myweb {}";
|
||||
"text/x-vcard" = "mutt.vcard.filter";
|
||||
"video/mpeg" = "mutt_bgrun mpv %s";
|
||||
"audio/x-wav" = "mutt_bgrun mpv %s";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{ config, pkgs, inputs, osConfig, outputs, ... }: {
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
./aerc.nix
|
||||
./bash.nix
|
||||
./btop.nix
|
||||
./catppuccin.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue