summaryrefslogtreecommitdiff
path: root/modules/home/christian.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/christian.nix')
-rw-r--r--modules/home/christian.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/home/christian.nix b/modules/home/christian.nix
index 503f262..98112ec 100644
--- a/modules/home/christian.nix
+++ b/modules/home/christian.nix
@@ -25,6 +25,12 @@
xclip
hexyl
calibre
+ (pkgs.zathuraPkgs.zathuraWrapper.override {
+ plugins = with pkgs.zathuraPkgs; [
+ zathura_pdf_mupdf
+ zathura_djvu
+ ];
+ })
];
programs.alacritty = {
@@ -146,7 +152,9 @@
xdg.mimeApps = {
enable = true;
defaultApplications = {
- "application/pdf" = [ "firefox.desktop" ];
+ "application/pdf" = [ "org.pwmt.zathura.desktop" ];
+ "image/vnd.djvu" = [ "org.pwmt.zathura.desktop" ];
+ "image/vnd.djvu+multipage" = [ "org.pwmt.zathura.desktop" ];
"text/html" = [ "firefox.desktop" ];
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];