added gsettings schema
[psensor.git] / src / psensor.gschema.xml
diff --git a/src/psensor.gschema.xml b/src/psensor.gschema.xml
new file mode 100644 (file)
index 0000000..0aaed3d
--- /dev/null
@@ -0,0 +1,105 @@
+<schemalist>
+  <schema id="psensor" path="/apps/psensor/">
+    <child name="graph" schema="psensor.graph"/>
+    <child name="interface" schema="psensor.interface"/>
+  </schema>
+  <schema id="psensor.graph" path="/apps/psensor/graph/">
+    <key name="alpha-channel-enabled" type="b">
+      <default>false</default>
+      <summary>Whether the alpha channel is enabled</summary>
+      <description>Whether the alpha channel is enabled. Must be enabled for changing the transparency of the background of the graph window.</description>
+    </key>
+    <key name="background-alpha" type="d">
+      <default>1</default>
+      <summary>The alpha value of the background of the graph window</summary>
+      <description>The alpha value of the background of the graph window. It must be a positive float between 0 and 1. '1' is the maximum opacity.</description>
+    </key>
+    <key name="background-color" type="s">
+      <default>'#e8f4e8f4a8f5'</default>
+      <summary>The color of the background of the graph canvas</summary>
+      <description>The color of the background of the graph canvas as a #rgb representation.</description>
+    </key>
+    <key name="foreground-color" type="s">
+      <default>'#000000000000'</default>
+      <summary>The color of the foreground of the graph canvas</summary>
+      <description>The color of the foreground of the graph canvas as a #rgb representation.</description>
+    </key>
+    <key name="monitoring-duration" type="i">
+      <default>10</default>
+      <summary>The monitoring duration of the graph</summary>
+      <description>The monitoring duration of the graph as minutes. It must be greater than 1.</description>
+    </key>
+    <key name="update-interval" type="i">
+      <default>1</default>
+      <summary>The interval between refreshs of the graph</summary>
+      <description>The interval between refreshs of the graph as seconds. It must be greater than 1.</description>
+    </key>
+  </schema>
+  <schema id="psensor.interface" path="/apps/psensor/interface/">
+    <key name="hide-on-startup" type="b">
+      <default>false</default>
+      <summary>Whether the graph window is hidden on startup</summary>
+      <description>Whether the graph window is hidden on startup. The graph will be hidden only if the Ubuntu Application Indicator or status icon support is available.</description>
+    </key>
+    <key name="menu-bar-disabled" type="b">
+      <default>false</default>
+      <summary>Whether the menu of the graph window is disabled</summary>
+      <description>Whether the menu of the graph window is disabled</description>
+    </key>
+    <key name="sensorlist-position" type="i">
+      <default>0</default>
+      <summary>Position of the sensor list in the graph window</summary>
+      <description>Position of the sensor list in the graph window. Possible values are 0 (right), 1 (left), 2 (top), 3 (bottom).</description>
+    </key>
+    <key name="unity-launcher-count-disabled" type="b">
+      <default>false</default>
+      <summary>Whether the greatest temperature is displayed in Unity launcher</summary>
+      <description>If set to 'true' the greatest temperature will be displayed in the Unity launcher.</description>
+    </key>
+    <key name="temperature-unit" type="i">
+      <default>0</default>
+      <summary>The displayed temperature unit</summary>
+      <description>The displayed temperature unit, '0' for Celsius, '1' for Fahenrenheit.</description>
+    </key>
+    <key name="window-decoration-disabled" type="i">
+      <default>0</default>
+      <summary>Whether the decoration of the window is disabled</summary>
+      <description>Whether the decoration of the window is disabled.</description>
+    </key>
+    <key name="window-keep-below-enabled" type="b">
+      <default>false</default>
+      <summary>Whether the graph window is kept below all other windows</summary>
+      <description>Whether the graph window is kept below all other windows.</description>
+    </key>
+    <key name="window-restore-enabled" type="b">
+      <default>false</default>
+      <summary>Whether the position and size of the graph window are restored</summary>
+      <description>Whether the position and size of the graph window are restored</description>
+    </key>
+    <key name="window-divider-pos" type="i">
+      <default>0</default>
+      <summary>Position of the divider between the graph window and the list of sensors</summary>
+      <description>Position of the divider between the graph window and the list of sensors</description>
+    </key>
+    <key name="window-w" type="i">
+      <default>0</default>
+      <summary>Width of the graph window</summary>
+      <description>Width of the graph window.</description>
+    </key>
+    <key name="window-h" type="i">
+      <default>0</default>
+      <summary>Height of the graph window</summary>
+      <description>Height of the graph window.</description>
+    </key>
+    <key name="window-x" type="i">
+      <default>0</default>
+      <summary>Horizontal position of the graph window</summary>
+      <description>Horizontal position of the graph window.</description>
+    </key>
+    <key name="window-y" type="i">
+      <default>0</default>
+      <summary>Vertical position of the graph window</summary>
+      <description>Vertical position of the graph window.</description>
+    </key>
+  </schema>
+</schemalist>