aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--home/nipsy/arrakis.nix9
1 files changed, 8 insertions, 1 deletions
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);