2019-08-30 17:37:58 +02:00
|
|
|
{ makeDesktopItem, pname, suiteName }:
|
|
|
|
|
|
|
|
{
|
|
|
|
planmaker = makeDesktopItem {
|
|
|
|
name = "${pname}-planmaker";
|
|
|
|
desktopName = "${suiteName} PlanMaker";
|
2020-04-03 09:14:16 +02:00
|
|
|
icon = "${pname}-pml";
|
2022-02-22 15:56:15 +01:00
|
|
|
categories = [ "Office" ];
|
2019-08-30 17:37:58 +02:00
|
|
|
exec = "${pname}-planmaker %F";
|
2022-02-22 15:56:15 +01:00
|
|
|
tryExec = "${pname}-planmaker";
|
|
|
|
mimeTypes = [
|
|
|
|
"application/x-pmd"
|
|
|
|
"application/x-pmdx"
|
|
|
|
"application/x-pmv"
|
|
|
|
"application/excel"
|
|
|
|
"application/x-excel"
|
|
|
|
"application/x-ms-excel"
|
|
|
|
"application/x-msexcel"
|
|
|
|
"application/x-sylk"
|
|
|
|
"application/x-xls"
|
|
|
|
"application/xls"
|
|
|
|
"application/vnd.ms-excel"
|
|
|
|
"application/vnd.stardivision.calc"
|
|
|
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
|
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.template"
|
|
|
|
"application/vnd.ms-excel.sheet.macroenabled.12"
|
|
|
|
"application/vnd.ms-excel.template.macroEnabled.12"
|
2022-03-02 14:52:58 +01:00
|
|
|
"application/x-dif"
|
|
|
|
"text/spreadsheet"
|
|
|
|
"text/csv"
|
2022-02-22 15:56:15 +01:00
|
|
|
"application/x-prn"
|
|
|
|
"application/vnd.ms-excel.sheet.binary.macroenabled.12"
|
|
|
|
];
|
|
|
|
startupWMClass = "pm";
|
2019-08-30 17:37:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
presentations = makeDesktopItem {
|
|
|
|
name = "${pname}-presentations";
|
|
|
|
desktopName = "${suiteName} Presentations";
|
2020-04-03 09:14:16 +02:00
|
|
|
icon = "${pname}-prl";
|
2022-02-22 15:56:15 +01:00
|
|
|
categories = [ "Office" ];
|
2019-08-30 17:37:58 +02:00
|
|
|
exec = "${pname}-presentations %F";
|
2022-02-22 15:56:15 +01:00
|
|
|
tryExec = "${pname}-presentations";
|
|
|
|
mimeTypes = [
|
|
|
|
"application/x-prdx"
|
|
|
|
"application/x-prvx"
|
|
|
|
"application/x-prsx"
|
|
|
|
"application/x-prd"
|
|
|
|
"application/x-prv"
|
|
|
|
"application/x-prs"
|
|
|
|
"application/ppt"
|
|
|
|
"application/mspowerpoint"
|
|
|
|
"application/vnd.ms-powerpoint"
|
|
|
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
|
|
"application/vnd.ms-powerpoint.presentation.macroenabled.12"
|
|
|
|
"application/vnd.openxmlformats-officedocument.presentationml.template"
|
|
|
|
"application/vnd.ms-powerpoint.template.macroEnabled.12"
|
|
|
|
"application/vnd.ms-powerpoint.slideshow.macroenabled.12"
|
|
|
|
"application/vnd.openxmlformats-officedocument.presentationml.slideshow"
|
|
|
|
];
|
|
|
|
startupWMClass = "pr";
|
2019-08-30 17:37:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
textmaker = makeDesktopItem {
|
|
|
|
name = "${pname}-textmaker";
|
|
|
|
desktopName = "${suiteName} TextMaker";
|
2020-04-03 09:14:16 +02:00
|
|
|
icon = "${pname}-tml";
|
2022-02-22 15:56:15 +01:00
|
|
|
categories = [ "Office" ];
|
2019-08-30 17:37:58 +02:00
|
|
|
exec = "${pname}-textmaker %F";
|
2022-02-22 15:56:15 +01:00
|
|
|
tryExec = "${pname}-textmaker";
|
|
|
|
mimeTypes = [
|
|
|
|
"application/x-tmdx"
|
|
|
|
"application/x-tmvx"
|
|
|
|
"application/x-tmd"
|
|
|
|
"application/x-tmv"
|
|
|
|
"application/msword"
|
|
|
|
"application/vnd.ms-word"
|
|
|
|
"application/x-doc"
|
|
|
|
"text/rtf"
|
|
|
|
"application/rtf"
|
|
|
|
"application/vnd.oasis.opendocument.text"
|
|
|
|
"application/vnd.oasis.opendocument.text-template"
|
|
|
|
"application/vnd.stardivision.writer"
|
|
|
|
"application/vnd.sun.xml.writer"
|
|
|
|
"application/vnd.sun.xml.writer.template"
|
|
|
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
|
"application/vnd.ms-word.document.macroenabled.12"
|
|
|
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.template"
|
|
|
|
"application/vnd.ms-word.template.macroenabled.12"
|
|
|
|
"application/x-pocket-word"
|
|
|
|
"application/x-dbf"
|
|
|
|
"application/msword-template"
|
|
|
|
];
|
|
|
|
startupWMClass = "tm";
|
2019-08-30 17:37:58 +02:00
|
|
|
};
|
|
|
|
}
|