Gnome : Add extra mime default apps.

This commit is contained in:
Dmitry Voronin 2024-03-24 18:14:54 +03:00
parent 72808c6ab7
commit 42a193a9e1

View file

@ -14,8 +14,12 @@ in {
xdg.mime.defaultApplications = {
# Use `file -i file.txt` to find file mime type.
# Use `xdg-mime query default "text/plain"` to find default app.
"application/pdf" = "org.gnome.Evince.desktop";
"application/vnd.openxmlformats-officedocument.*" = "onlyoffice-desktopeditors.desktop";
"audio/*" = "mpv.desktop";
"image/*" = "org.gnome.Loupe.desktop";
"text/*" = "nvim.desktop";
"video/*" = "mpv.desktop";
};
# Extra apps.