biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / office / softmaker / desktop_items.nix
bloba97b3f7d37b63247f0b42cd4ad07fb4ed2ab99b9
1 { makeDesktopItem, pname, suiteName }:
4   planmaker = makeDesktopItem {
5     name = "${pname}-planmaker";
6     desktopName = "${suiteName} PlanMaker";
7     icon = "${pname}-pml";
8     categories = [ "Office" ];
9     exec = "${pname}-planmaker %F";
10     tryExec = "${pname}-planmaker";
11     mimeTypes = [
12       "application/x-pmd"
13       "application/x-pmdx"
14       "application/x-pmv"
15       "application/excel"
16       "application/x-excel"
17       "application/x-ms-excel"
18       "application/x-msexcel"
19       "application/x-sylk"
20       "application/x-xls"
21       "application/xls"
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"
28       "application/x-dif"
29       "text/spreadsheet"
30       "text/csv"
31       "application/x-prn"
32       "application/vnd.ms-excel.sheet.binary.macroenabled.12"
33     ];
34     startupWMClass = "pm";
35   };
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";
44     mimeTypes = [
45       "application/x-prdx"
46       "application/x-prvx"
47       "application/x-prsx"
48       "application/x-prd"
49       "application/x-prv"
50       "application/x-prs"
51       "application/ppt"
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"
60     ];
61     startupWMClass = "pr";
62   };
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";
71     mimeTypes = [
72       "application/x-tmdx"
73       "application/x-tmvx"
74       "application/x-tmd"
75       "application/x-tmv"
76       "application/msword"
77       "application/vnd.ms-word"
78       "application/x-doc"
79       "text/rtf"
80       "application/rtf"
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"
91       "application/x-dbf"
92       "application/msword-template"
93     ];
94     startupWMClass = "tm";
95   };