monito/schemas/org.gnome.shell.extensions....

81 lines
2.3 KiB
XML

<!--
Monito Gnome-Shell extension
Copyright (C) 2021 Benjamin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
SPDX-License-Identifier: GPL-2.0-or-later
-->
<schemalist >
<enum id="org.gnome.shell.extensions.monito@drieu.org.MonitoringType">
<value value="0" nick="Icinga"/>
<value value="1" nick="Icinga2"/>
</enum>
<enum id="org.gnome.shell.extensions.monito@drieu.org.DisplayType">
<value value="0" nick="Short"/>
<value value="1" nick="Long"/>
</enum>
<!-- Main Schema -->
<schema id="org.gnome.shell.extensions.monito@drieu.org" path="/org/gnome/shell/extensions/monito/">
<child name="account" schema="org.gnome.shell.extensions.monito@drieu.org.account"/>
<key name="servers" type="s">
<default>'0'</default>
</key>
<key name="display-type" enum="org.gnome.shell.extensions.monito@drieu.org.DisplayType">
<default>"Short"</default>
</key>
</schema>
<!-- Account list -->
<schema id="org.gnome.shell.extensions.monito@drieu.org.account">
<key name="icon" type="s">
<default>''</default>
</key>
<key name="type" enum="org.gnome.shell.extensions.monito@drieu.org.MonitoringType">
<default>"Icinga"</default>
</key>
<key name="name" type="s">
<default>''</default>
</key>
<key name="username" type="s">
<default>''</default>
</key>
<key name="password" type="s">
<default>''</default>
</key>
<key name="urlcgi" type="s">
<default>''</default>
</key>
<key name="timeoutinterval" type="i">
<default>1</default>
</key>
</schema>
</schemalist>