File: io.github.alarm-clock-applet.gschema.xml

package info (click to toggle)
alarm-clock-applet 0.4.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,264 kB
  • sloc: ansic: 4,334; xml: 71; sh: 11; makefile: 8
file content (74 lines) | stat: -rw-r--r-- 3,506 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<schemalist gettext-domain="alarm-clock-applet">
  <!--  Global preferences -->
  <schema id="io.github.alarm-clock-applet" path="/io/github/alarm-clock-applet/">
    <key name="show-label" type="b">
      <default>false</default>
      <summary>Show countdown label</summary>
      <description>Whether to show a label on the right side of the icon with the time remaining to the next alarm.</description>
    </key>
    <key name="alarms" type="au">
        <default>[]</default>
        <summary>List of alarm IDs that exist</summary>
        <description>Contains a list of all the alarms that are currently stored in GSettings</description>
    </key>
    <key name="gconf-migrated" type="b">
      <default>false</default>
      <summary>Migrated from GConf</summary>
      <description>Whether a migration from GConf has been attempted.</description>
    </key>
  </schema>

  <!-- Alarm specific -->
  <schema id="io.github.alarm-clock-applet.alarm">
    <key name="type" enum="io.github.alarm-clock-applet.AlarmType">
      <default>'clock'</default>
      <summary>Alarm Type</summary>
      <description>The type of the alarm. Either "clock" for an alarm at a  specific time of day, or "timer" for an alarm after a  specified period of time.</description>
    </key>
    <key name="timestamp" type="x">
      <default>0</default>
      <summary>Alarm Timestamp</summary>
      <description>The UNIX timestamp for the alarm. Must be set before the alarm is activated.</description>
    </key>
    <key name="time" type="x">
      <default>0</default>
      <summary>Alarm Time</summary>
      <description>The time for the alarm. Should be in GMT for "clock" alarms or length in seconds for "timer" alarms.</description>
    </key>
    <key name="message" type="s">
      <default l10n="messages" context="message">'Alarm!'</default>
      <summary>Alarm Message</summary>
      <description>A short message which describes the alarm.</description>
    </key>
    <key name="active" type="b">
      <default>false</default>
      <summary>Alarm Running State</summary>
      <description>Indicates whether the alarm has started.</description>
    </key>
    <key name="repeat" flags="io.github.alarm-clock-applet.AlarmRepeat">
      <default>[]</default>
      <summary>Alarm Repeat</summary>
      <description>A list of days when the alarm should be repeated. This setting is only applicable for "clock" alarms.</description>
    </key>
    <key name="notify-type" enum="io.github.alarm-clock-applet.AlarmNotifyType">
      <default>'sound'</default>
      <summary>Notification Type</summary>
      <description>The type of notification to use when the alarm goes off. This can be one of the following: "sound" to play a sound (specified in the "sound_file" property.) "command" to run a command (specified in the "command" property.)</description>
    </key>
    <key name="sound-file" type="s">
      <default>''</default>
      <summary>Sound File</summary>
      <description>The sound file to play for the "sound" notification type.</description>
    </key>
    <key name="sound-repeat" type="b">
      <default>true</default>
      <summary>Repeat Sound</summary>
      <description>Whether to repeat the alarm sound.</description>
    </key>
    <key name="command" type="s">
      <default>'rhythmbox-client --play'</default>
      <summary>Command</summary>
      <description>The command to run for the "command" notification type.</description>
    </key>
  </schema>
</schemalist>