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
|
// vim:ts=4:sw=4:et
{
// splitv split container with 2 children
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
// splith split container with 1 children
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"percent": 0.8,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"percent": 1,
"swallows": [
{
"class": "^MuPDF$",
"instance": "^mupdf$"
},
{
"class": "^Zathura$",
"instance": "^zathura$"
}
],
"type": "con"
}
]
},
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.20,
"swallows": [
{
"class": "^URxvt$",
"instance": "rxvt$",
// Prevent vim to be here
"title": "^((?!vim).)*$"
}
],
"type": "con"
}
]
}
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"name": "vim",
"swallows": [
{
"class": "^URxvt$",
"instance": "rxvt$",
"title": "^(vim)|(nvim)$"
}
],
"type": "con"
}
|