-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
52 lines (52 loc) · 1.65 KB
/
schema.json
File metadata and controls
52 lines (52 loc) · 1.65 KB
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
{
"$id": "http://www.waxrat.com/setwin",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON schema for Setwin's configuration file setwin.json",
"type": "array",
"items": {
"type": "object",
"properties": {
"wmclass": {
"$comment": "Match against the window's window manager class",
"type": "string",
"format": "regex"
},
"title": {
"$comment": "Match against the window's title",
"type": "string",
"format": "regex"
},
"workspace": {
"$comment": "Place this window on the specified workspace (0-based), or -1 to be on all workspaces",
"type": "integer",
"minimum": -1
},
"x": {
"$comment": "Place this window at the specified X-coordinate, or negative means relative to the monitor width",
"type": "integer"
},
"y": {
"$comment": "Place this window at the specified Y-coordinate, or negative means relative to the monitor height",
"type": "integer"
},
"width": {
"$comment": "Set this window's height; negative means relative to the monitor width; 0 to maximize",
"type": "integer"
},
"height": {
"$comment": "Set this window's width; negative means relative to the monitor height; 0 to maximize",
"type": "integer"
},
"max_match": {
"$comment": "Apply this rule no more than this many times",
"type": "integer",
"minimum": 1
},
"above": {
"$comment": "Mark this window to always be above other windows",
"type": "boolean"
}
},
"additionalProperties": false
}
}