updated mimetypes

This commit is contained in:
Kristian Krsnik 2024-02-12 15:30:17 +01:00
parent fae38b30e1
commit a7b7f92d94
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -42,11 +42,15 @@
xdg.mimeApps = {
enable = true;
defaultApplications = {
"image/png" = ["org.gnome.Loupe.desktop"];
"image/jpeg" = ["org.gnome.eog.desktop"];
"video/webm" = ["mpv.desktop"];
"application/pdf" = ["org.gnome.Evince.desktop"];
defaultApplications = let
imageViewer = ["org.gnome.Loupe.desktop"];
videoViewer = ["mpv.desktop"];
documentViewer = ["org.gnome.Evince.desktop"];
in {
"image/png" = imageViewer;
"image/jpeg" = imageViewer;
"video/webm" = videoViewer;
"application/pdf" = documentViewer;
};
};
}