From e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 12 Oct 2024 19:39:22 -0700 Subject: Add more mailcap --- home/nipsy/arrakis.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'home') diff --git a/home/nipsy/arrakis.nix b/home/nipsy/arrakis.nix index abeca9b..58e6ed6 100644 --- a/home/nipsy/arrakis.nix +++ b/home/nipsy/arrakis.nix @@ -9,8 +9,15 @@ home.file = { ".mailcap".text = '' - text/html; elinks -dump %s; copiousoutput + #application/msword; antiword -rs '%s'; copiousoutput; description=Microsoft Word Document application/pdf; pdftotext '%s' -; copiousoutput; description=Adobe Portable Document Format + #image/gif; asciiview -driver curses -dim -bold -reverse -normal -boldfont -extended -eight '%s'; description=GIF image + image/gif; sxiv '%s'; description=GIF image + #image/jpeg; asciiview -driver curses -dim -bold -reverse -normal -boldfont -extended -eight '%s'; description=JPEG image + image/jpeg; sxiv '%s'; description=JPEG image + image/png; sxiv '%s'; description=PNG image + text/html; elinks -dump %s; copiousoutput + #text/richtext; catdoc '%s'; copiousoutput; description=Microsoft Rich Text Format ''; ".mutt/aliases".text = (builtins.readFile arrakis/mutt/aliases); ".mutt/colors".text = (builtins.readFile arrakis/mutt/colors); -- cgit v1.2.3