aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/zathura
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/zathura')
-rw-r--r--modules/programs/zathura/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/programs/zathura/default.nix b/modules/programs/zathura/default.nix
index e40d11e..167b04f 100644
--- a/modules/programs/zathura/default.nix
+++ b/modules/programs/zathura/default.nix
@@ -11,5 +11,15 @@
programs.zathura = {
package = pkgs.zathura;
};
+
+ xdg.mimeApps.defaultApplications = {
+ "application/pdf" = "zathura.desktop";
+ "application/x-pdf" = "zathura.desktop";
+ "image/vnd.djvu" = "zathura.desktop";
+ "application/epub+zip" = "zathura.desktop";
+ "application/postscript" = "zathura.desktop";
+ "application/vnd.comicbook+zip" = "zathura.desktop";
+ "application/vnd.comicbook-rar" = "zathura.desktop";
+ };
};
}