summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-07-05 19:10:31 -0700
committerBen Sima <ben@bsima.me>2018-07-05 19:10:31 -0700
commit2a19f3f1e7b29c2cf532c724d59dfe090d0903ee (patch)
treeead24c490b45b435cb0dae2bd67313ae2e29fec3
parentfe499b717657fabf595f6e30d641e01ca38349ed (diff)
Add more mailcap stuff
-rw-r--r--mailcap4
-rw-r--r--packages.nix4
2 files changed, 8 insertions, 0 deletions
diff --git a/mailcap b/mailcap
index 6e998ad..509f041 100644
--- a/mailcap
+++ b/mailcap
@@ -1 +1,5 @@
text/html; lynx -dump -width=78 -nolist %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html
+application/pdf; apvlv %s
+image/*; feh %s
+application/msword; antiword %s; copiousoutput
+application/*; xdg-open %s & sleep 5
diff --git a/packages.nix b/packages.nix
index fdb3a2b..917a7ac 100644
--- a/packages.nix
+++ b/packages.nix
@@ -2,9 +2,12 @@
[
pkgs.ag
+pkgs.apvlv
+pkgs.antiword
pkgs.cabal2nix
pkgs.chromium
pkgs.cloc
+pkgs.conkeror
pkgs.dict
pkgs.dmenu
pkgs.dzen2
@@ -13,6 +16,7 @@ pkgs.entr
pkgs.exercism
pkgs.expect
pkgs.fasd
+pkgs.feh
pkgs.file
pkgs.gimp
pkgs.git