1
1
Fork 0

xdg: switch to libreoffice

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-11-24 13:11:03 -06:00
parent 6286812985
commit 5d42660165
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -11,6 +11,7 @@ with lib; let
firefox-esr = "firefox-esr.desktop"; firefox-esr = "firefox-esr.desktop";
font-viewer = "org.gnome.font-viewer.desktop"; font-viewer = "org.gnome.font-viewer.desktop";
gnome-text-editor = "org.gnome.TextEditor.desktop"; gnome-text-editor = "org.gnome.TextEditor.desktop";
libreoffice = "base.desktop";
loupe = "org.gnome.Loupe.desktop"; loupe = "org.gnome.Loupe.desktop";
nautilus = "org.gnome.Nautilus.desktop"; nautilus = "org.gnome.Nautilus.desktop";
onlyoffice = "onlyoffice-desktopeditors.desktop"; onlyoffice = "onlyoffice-desktopeditors.desktop";
@ -45,22 +46,22 @@ in {
"application/json" = gnome-text-editor; "application/json" = gnome-text-editor;
"application/octet-stream" = ""; "application/octet-stream" = "";
"application/pdf" = papers; "application/pdf" = papers;
"application/rtf" = onlyoffice; "application/rtf" = libreoffice;
"application/schema+json" = gnome-text-editor; "application/schema+json" = gnome-text-editor;
"application/sql" = gnome-text-editor; "application/sql" = gnome-text-editor;
"application/toml" = gnome-text-editor; "application/toml" = gnome-text-editor;
"application/vnd.adobe.flash.movie" = clapper; "application/vnd.adobe.flash.movie" = clapper;
"application/vnd.ms-excel.sheet.macroEnabled.12" = onlyoffice; "application/vnd.ms-excel.sheet.macroEnabled.12" = libreoffice;
"application/vnd.ms-excel" = onlyoffice; "application/vnd.ms-excel" = libreoffice;
"application/vnd.ms-powerpoint" = onlyoffice; "application/vnd.ms-powerpoint" = libreoffice;
"application/vnd.ms-visio.drawing.main+xml" = gnome-text-editor; "application/vnd.ms-visio.drawing.main+xml" = gnome-text-editor;
"application/vnd.oasis.opendocument.formula-template" = onlyoffice; "application/vnd.oasis.opendocument.formula-template" = libreoffice;
"application/vnd.oasis.opendocument.graphics" = onlyoffice; "application/vnd.oasis.opendocument.graphics" = libreoffice;
"application/vnd.oasis.opendocument.spreadsheet" = onlyoffice; "application/vnd.oasis.opendocument.spreadsheet" = libreoffice;
"application/vnd.oasis.opendocument.text" = onlyoffice; "application/vnd.oasis.opendocument.text" = libreoffice;
"application/vnd.openxmlformats-officedocument.presentationml.presentation" = onlyoffice; "application/vnd.openxmlformats-officedocument.presentationml.presentation" = libreoffice;
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" = onlyoffice; "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" = libreoffice;
"application/vnd.openxmlformats-officedocument.wordprocessingml.document" = onlyoffice; "application/vnd.openxmlformats-officedocument.wordprocessingml.document" = libreoffice;
"application/vnd.sqlite3" = gnome-text-editor; "application/vnd.sqlite3" = gnome-text-editor;
"application/vnd.visio" = gnome-text-editor; "application/vnd.visio" = gnome-text-editor;
"application/x-asar" = gnome-text-editor; "application/x-asar" = gnome-text-editor;