xdg: add evince for pdf viewing
This commit is contained in:
parent
b9d719e157
commit
71035a3764
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
image_viewer = "imv.desktop";
|
image_viewer = "imv.desktop";
|
||||||
text_editor = "helix.desktop";
|
text_editor = "helix.desktop";
|
||||||
terminal = "foot.desktop";
|
terminal = "foot.desktop";
|
||||||
|
pdf_viewer = "org.gnome.Evince.desktop";
|
||||||
in {
|
in {
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
TERMINAL = "${terminal}";
|
TERMINAL = "${terminal}";
|
||||||
|
@ -65,6 +66,7 @@ in {
|
||||||
"image/tiff" = [image_viewer];
|
"image/tiff" = [image_viewer];
|
||||||
"image/webp" = [image_viewer];
|
"image/webp" = [image_viewer];
|
||||||
"text/plain" = [text_editor];
|
"text/plain" = [text_editor];
|
||||||
|
"application/pdf" = [pdf_viewer];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue