From 5d42660165e9270e2f789608672c3ba684d5a17f Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 24 Nov 2024 13:11:03 -0600 Subject: [PATCH] xdg: switch to libreoffice Signed-off-by: Myned --- options/custom/settings/xdg.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/options/custom/settings/xdg.nix b/options/custom/settings/xdg.nix index 9610a93..2604119 100644 --- a/options/custom/settings/xdg.nix +++ b/options/custom/settings/xdg.nix @@ -11,6 +11,7 @@ with lib; let firefox-esr = "firefox-esr.desktop"; font-viewer = "org.gnome.font-viewer.desktop"; gnome-text-editor = "org.gnome.TextEditor.desktop"; + libreoffice = "base.desktop"; loupe = "org.gnome.Loupe.desktop"; nautilus = "org.gnome.Nautilus.desktop"; onlyoffice = "onlyoffice-desktopeditors.desktop"; @@ -45,22 +46,22 @@ in { "application/json" = gnome-text-editor; "application/octet-stream" = ""; "application/pdf" = papers; - "application/rtf" = onlyoffice; + "application/rtf" = libreoffice; "application/schema+json" = gnome-text-editor; "application/sql" = gnome-text-editor; "application/toml" = gnome-text-editor; "application/vnd.adobe.flash.movie" = clapper; - "application/vnd.ms-excel.sheet.macroEnabled.12" = onlyoffice; - "application/vnd.ms-excel" = onlyoffice; - "application/vnd.ms-powerpoint" = onlyoffice; + "application/vnd.ms-excel.sheet.macroEnabled.12" = libreoffice; + "application/vnd.ms-excel" = libreoffice; + "application/vnd.ms-powerpoint" = libreoffice; "application/vnd.ms-visio.drawing.main+xml" = gnome-text-editor; - "application/vnd.oasis.opendocument.formula-template" = onlyoffice; - "application/vnd.oasis.opendocument.graphics" = onlyoffice; - "application/vnd.oasis.opendocument.spreadsheet" = onlyoffice; - "application/vnd.oasis.opendocument.text" = onlyoffice; - "application/vnd.openxmlformats-officedocument.presentationml.presentation" = onlyoffice; - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" = onlyoffice; - "application/vnd.openxmlformats-officedocument.wordprocessingml.document" = onlyoffice; + "application/vnd.oasis.opendocument.formula-template" = libreoffice; + "application/vnd.oasis.opendocument.graphics" = libreoffice; + "application/vnd.oasis.opendocument.spreadsheet" = libreoffice; + "application/vnd.oasis.opendocument.text" = libreoffice; + "application/vnd.openxmlformats-officedocument.presentationml.presentation" = libreoffice; + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" = libreoffice; + "application/vnd.openxmlformats-officedocument.wordprocessingml.document" = libreoffice; "application/vnd.sqlite3" = gnome-text-editor; "application/vnd.visio" = gnome-text-editor; "application/x-asar" = gnome-text-editor;