-
Notifications
You must be signed in to change notification settings - Fork 55
/
settings.ui
263 lines (225 loc) · 11.6 KB
/
settings.ui
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="AdwPreferencesPage" id="gridPage">
<property name="name">Dimensions</property>
<property name="title">Dimensions</property>
<property name="icon_name">preferences-desktop-apps-symbolic</property>
<child>
<object class="AdwPreferencesGroup" id="gridGroup">
<property name="title">Grid size</property>
<property name="description">Configure the rows and columns of YourExtensionName</property>
<child>
<object class="AdwActionRow" id="colsRow">
<property name="title">Columns</property>
<child>
<object class="GtkSpinButton" id="colsSettingInt">
<property name="adjustment">colsAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="colsAdjustment">
<property name="lower">1</property>
<property name="step_increment">1</property>
<property name="upper">5</property>
<property name="value">2</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="rowsRow">
<property name="title">Rows</property>
<child>
<object class="GtkSpinButton" id="rowsSettingInt">
<property name="adjustment">rowsAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="rowsAdjustment">
<property name="lower">1</property>
<property name="step_increment">1</property>
<property name="upper">5</property>
<property name="value">2</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="ultrawideOnlyRow">
<property name="title">Use different rows and columns for non-ultrawide monitors</property>
<child>
<object class="GtkCheckButton" id="ultrawideOnlyInput">
<property name="active">false</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="nonUltrawideGroup">
<property name="title">Number of columns for non-ultrawide</property>
<property name="description">Configure the separate rows and columns of non-ultrawides</property>
<child>
<object class="AdwActionRow" id="nonUltraColsRow">
<property name="title">Columns</property>
<child>
<object class="GtkSpinButton" id="nonUltraColsSettingInt">
<property name="adjustment">nonUltraColsAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="nonUltraColsAdjustment">
<property name="lower">1</property>
<property name="step_increment">1</property>
<property name="upper">5</property>
<property name="value">2</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="nonUltraRowsRow">
<property name="title">Rows</property>
<child>
<object class="GtkSpinButton" id="nonUltraRowsSettingInt">
<property name="adjustment">nonUltraRowsAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="nonUltraRowsAdjustment">
<property name="lower">1</property>
<property name="step_increment">1</property>
<property name="upper">5</property>
<property name="value">2</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<!-- Behavior Page -->
<object class="AdwPreferencesPage" id="behaviorPage">
<property name="name">Behavior</property>
<property name="title">Behavior</property>
<property name="icon_name">applications-system-symbolic</property>
<!-- Behavior Group -->
<child>
<object class="AdwPreferencesGroup" id="behaviorGroup">
<property name="title">Behavior</property>
<child>
<object class="AdwActionRow" id="maximizeRow">
<property name="title">Use true maximizing of windows</property>
<child>
<object class="GtkCheckButton" id="maximizeInput">
<property name="active">true</property>
</object>
</child>
</object>
</child>
<!-- Minimize Row -->
<child>
<object class="AdwActionRow" id="minimizeRow">
<property name="title">Use true minimizing of windows</property>
<child>
<object class="GtkCheckButton" id="minimizeInput">
<property name="active">true</property>
</object>
</child>
</object>
</child>
<!-- Preview Row -->
<child>
<object class="AdwActionRow" id="previewRow">
<property name="title">Enable preview and snapping when dragging windows</property>
<child>
<object class="GtkCheckButton" id="previewInput">
<property name="active">true</property>
</object>
</child>
</object>
</child>
<!-- Preview Distance Row -->
<child>
<object class="AdwActionRow" id="previewDistanceRow">
<property name="title">Pixels from edge to start preview</property>
<child>
<object class="GtkSpinButton" id="previewDistanceSettingInt">
<property name="adjustment">previewDistanceAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="previewDistanceAdjustment">
<property name="lower">0</property>
<property name="step_increment">1</property>
<property name="upper">150</property>
<property name="value">0</property>
</object>
</child>
</object>
</child>
<!-- Preview Delay Row -->
<child>
<object class="AdwActionRow" id="previewDelayRow">
<property name="title">Delay in ms before preview displays</property>
<child>
<object class="GtkSpinButton" id="previewDelaySettingInt">
<property name="adjustment">previewDelayAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="previewDelayAdjustment">
<property name="lower">25</property>
<property name="step_increment">1</property>
<property name="upper">1000</property>
<property name="value">25</property>
</object>
</child>
</object>
</child>
<!-- Double Width Previews Row -->
<child>
<object class="AdwActionRow" id="doubleWidthRow">
<property name="title">Use double width previews on sides in 4 and 5 column mode</property>
<child>
<object class="GtkCheckButton" id="doubleWidthInput">
<property name="active">true</property>
</object>
</child>
</object>
</child>
<!-- Gap Row -->
<child>
<object class="AdwActionRow" id="gapRow">
<property name="title">Gap width around tiles</property>
<child>
<object class="GtkSpinButton" id="gapSettingInt">
<property name="adjustment">gapAdjustment</property>
</object>
</child>
<child>
<object class="GtkAdjustment" id="gapAdjustment">
<property name="lower">0</property>
<property name="step_increment">2</property>
<property name="upper">50</property>
<property name="value">0</property>
</object>
</child>
</object>
</child>
<!-- Debug Row -->
<child>
<object class="AdwActionRow" id="debugRow">
<property name="title">Turn on debugging</property>
<child>
<object class="GtkCheckButton" id="debugInput">
<property name="active">true</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>