1 { makeDesktopItem, pname, suiteName }:
4 planmaker = makeDesktopItem {
5 name = "${pname}-planmaker";
6 desktopName = "${suiteName} PlanMaker";
8 categories = [ "Office" ];
9 exec = "${pname}-planmaker %F";
10 tryExec = "${pname}-planmaker";
17 "application/x-ms-excel"
18 "application/x-msexcel"
22 "application/vnd.ms-excel"
23 "application/vnd.stardivision.calc"
24 "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
25 "application/vnd.openxmlformats-officedocument.spreadsheetml.template"
26 "application/vnd.ms-excel.sheet.macroenabled.12"
27 "application/vnd.ms-excel.template.macroEnabled.12"
32 "application/vnd.ms-excel.sheet.binary.macroenabled.12"
34 startupWMClass = "pm";
37 presentations = makeDesktopItem {
38 name = "${pname}-presentations";
39 desktopName = "${suiteName} Presentations";
40 icon = "${pname}-prl";
41 categories = [ "Office" ];
42 exec = "${pname}-presentations %F";
43 tryExec = "${pname}-presentations";
52 "application/mspowerpoint"
53 "application/vnd.ms-powerpoint"
54 "application/vnd.openxmlformats-officedocument.presentationml.presentation"
55 "application/vnd.ms-powerpoint.presentation.macroenabled.12"
56 "application/vnd.openxmlformats-officedocument.presentationml.template"
57 "application/vnd.ms-powerpoint.template.macroEnabled.12"
58 "application/vnd.ms-powerpoint.slideshow.macroenabled.12"
59 "application/vnd.openxmlformats-officedocument.presentationml.slideshow"
61 startupWMClass = "pr";
64 textmaker = makeDesktopItem {
65 name = "${pname}-textmaker";
66 desktopName = "${suiteName} TextMaker";
67 icon = "${pname}-tml";
68 categories = [ "Office" ];
69 exec = "${pname}-textmaker %F";
70 tryExec = "${pname}-textmaker";
77 "application/vnd.ms-word"
81 "application/vnd.oasis.opendocument.text"
82 "application/vnd.oasis.opendocument.text-template"
83 "application/vnd.stardivision.writer"
84 "application/vnd.sun.xml.writer"
85 "application/vnd.sun.xml.writer.template"
86 "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
87 "application/vnd.ms-word.document.macroenabled.12"
88 "application/vnd.openxmlformats-officedocument.wordprocessingml.template"
89 "application/vnd.ms-word.template.macroenabled.12"
90 "application/x-pocket-word"
92 "application/msword-template"
94 startupWMClass = "tm";