xdg: add evince for pdf viewing

This commit is contained in:
Charlie Root 2024-09-26 00:30:45 +02:00
commit 71035a3764

View file

@ -13,6 +13,7 @@
image_viewer = "imv.desktop";
text_editor = "helix.desktop";
terminal = "foot.desktop";
pdf_viewer = "org.gnome.Evince.desktop";
in {
environment.sessionVariables = {
TERMINAL = "${terminal}";
@ -65,6 +66,7 @@ in {
"image/tiff" = [image_viewer];
"image/webp" = [image_viewer];
"text/plain" = [text_editor];
"application/pdf" = [pdf_viewer];
};
};
};