diff options
| author | Christian <[email protected]> | 2026-07-02 20:46:10 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-07-02 20:46:10 -0500 |
| commit | 7e0dbcf06da71e1f39d310bb65677faac4ae057e (patch) | |
| tree | e4de67b97e7c9e31f9da7d43c6fa11d17f414604 | |
| parent | a687d35759647673c494b62a5ec498fd8e8d6a47 (diff) | |
Add zathura with PDF and DjVu support, set as default PDF/DjVu viewer
| -rw-r--r-- | modules/home/christian.nix | 10 |
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" ]; |
