diff --git a/modules/home/zathura/default.nix b/modules/home/zathura/default.nix index 6162542..cd3c3c4 100644 --- a/modules/home/zathura/default.nix +++ b/modules/home/zathura/default.nix @@ -17,4 +17,12 @@ in "statusbar-home-tilde" = true; }; }; + + config.my.home.xdg.mime-apps = lib.mkIf cfg.enable { + applications.media.document = { + comic = "org.pwmt.zathura.desktop"; + ebook = "org.pwmt.zathura.desktop"; + pdf = "org.pwmt.zathura.desktop"; + }; + }; }