aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-12 19:39:22 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-12 19:39:22 -0700
commite92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62 (patch)
tree5f28f52d8d43a0393a11090d4373e608e6388f31 /home
parent5db9363aa0f0bb00d3616097a97b4aa81f1cbff2 (diff)
downloadnix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.tar
nix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.tar.gz
nix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.tar.bz2
nix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.tar.lz
nix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.tar.xz
nix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.tar.zst
nix-e92d6b2b07ed40a1e7e1fd85c776b3f0c91c0c62.zip
Add more mailcap
Diffstat (limited to 'home')
-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);