Gnome : Add extra mime default apps.
This commit is contained in:
parent
72808c6ab7
commit
42a193a9e1
|
@ -14,8 +14,12 @@ in {
|
||||||
xdg.mime.defaultApplications = {
|
xdg.mime.defaultApplications = {
|
||||||
# Use `file -i file.txt` to find file mime type.
|
# Use `file -i file.txt` to find file mime type.
|
||||||
# Use `xdg-mime query default "text/plain"` to find default app.
|
# 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";
|
"image/*" = "org.gnome.Loupe.desktop";
|
||||||
"text/*" = "nvim.desktop";
|
"text/*" = "nvim.desktop";
|
||||||
|
"video/*" = "mpv.desktop";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Extra apps.
|
# Extra apps.
|
||||||
|
|
Loading…
Reference in a new issue