mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
test: validate configuration load
This commit is contained in:
6
test/config/include-1.json
Normal file
6
test/config/include-1.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 30,
|
||||
"output": ["HDMI-0", "DP-0"]
|
||||
}
|
3
test/config/include-2.json
Normal file
3
test/config/include-2.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"layer": "bottom"
|
||||
}
|
4
test/config/include.json
Normal file
4
test/config/include.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"include": ["test/config/include-1.json", "test/config/include-2.json"],
|
||||
"position": "top"
|
||||
}
|
25
test/config/multi.json
Normal file
25
test/config/multi.json
Normal file
@ -0,0 +1,25 @@
|
||||
[
|
||||
{
|
||||
"layer": "bottom",
|
||||
"height": 20,
|
||||
"output": ["HDMI-0", "DP-0"]
|
||||
},
|
||||
{
|
||||
"position": "bottom",
|
||||
"layer": "top",
|
||||
"height": 21,
|
||||
"output": ["DP-0"]
|
||||
},
|
||||
{
|
||||
"position": "left",
|
||||
"layer": "overlay",
|
||||
"height": 22,
|
||||
"output": "Fake HDMI output #1"
|
||||
},
|
||||
{
|
||||
"position": "right",
|
||||
"layer": "overlay",
|
||||
"height": 23,
|
||||
"output": "!HDMI-1"
|
||||
}
|
||||
]
|
5
test/config/simple.json
Normal file
5
test/config/simple.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"height": 30,
|
||||
"output": ["HDMI-0", "DP-0"]
|
||||
}
|
Reference in New Issue
Block a user