Skip to content

Commit d96dabb

Browse files
committed
Change timer defaults
1 parent 9e0b2a7 commit d96dabb

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

data/gschema.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@
4848
<default>true</default>
4949
<summary>Whether to show the neck reminders</summary>
5050
</key>
51+
<key name="water" type="u">
52+
<default>33</default>
53+
<summary>Timer (in minutes) to remind the user to drink water</summary>
54+
</key>
55+
<key name="water-active" type="b">
56+
<default>true</default>
57+
<summary>Whether to show the water reminders</summary>
58+
</key>
5159
<key name="posture" type="u">
5260
<default>27</default>
5361
<summary>Timer (in minutes) to remind the user sit straight</summary>
@@ -57,21 +65,13 @@
5765
<summary>Whether to show the posture reminders</summary>
5866
</key>
5967
<key name="breath" type="u">
60-
<default>15</default>
68+
<default>22</default>
6169
<summary>Timer (in minutes) to remind the user to breathe consciously</summary>
6270
</key>
6371
<key name="breath-active" type="b">
64-
<default>true</default>
72+
<default>false</default>
6573
<summary>Whether to show the breathing reminders</summary>
6674
</key>
67-
<key name="water" type="u">
68-
<default>15</default>
69-
<summary>Timer (in minutes) to remind the user to drink water</summary>
70-
</key>
71-
<key name="water-active" type="b">
72-
<default>true</default>
73-
<summary>Whether to show the water reminders</summary>
74-
</key>
7575
</schema>
7676
<schema
7777
path="/com/github/elfenware/badger/state/"

src/Application.vala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,26 +195,26 @@ public class Badger.Application : Gtk.Application {
195195
this
196196
);
197197
reminders[5] = new Reminder (
198+
"water",
199+
_ ("Hydrate yourself"),
200+
_ ("Drink a glass of water."),
201+
_ ("Water:"),
202+
this
203+
);
204+
reminders[6] = new Reminder (
198205
"posture",
199206
_ ("Watch your posture"),
200207
_ ("Make sure your back is straight."),
201208
_ ("Posture:"),
202209
this
203210
);
204-
reminders[6] = new Reminder (
211+
reminders[7] = new Reminder (
205212
"breath",
206213
_ ("Focus on your breath"),
207214
_ ("Inhale and exhale deeply, thrice."),
208215
_ ("Breath:"),
209216
this
210217
);
211-
reminders[7] = new Reminder (
212-
"water",
213-
_ ("Hydrate yourself"),
214-
_ ("Drink a glass of water."),
215-
_ ("Water:"),
216-
this
217-
);
218218
return reminders;
219219
}
220220
}

0 commit comments

Comments
 (0)