1. Implement new layout API, replacing previous hard-coded layout. 2. Make the widgets (previously modules) configurable. 3. Split some widgets into smaller modules. 4. Configuration file (reluctantly JSON at time of writing). 5. More correct damage handling, copying damage to next buffer.
43 lines
942 B
JSON
43 lines
942 B
JSON
{
|
|
"widget": {
|
|
"margin": {
|
|
"margins": [20,20,20,20],
|
|
"widget": {
|
|
"verticalLayout": [{
|
|
"horizontalLayout": [{
|
|
"margin": {
|
|
"margins": [0,88,0,32],
|
|
"widget": {
|
|
"verticalLayout": [
|
|
{"date": {"font_size": 64.0}},
|
|
{"clock": {"font_size": 256.0}}
|
|
]
|
|
}
|
|
}
|
|
},{
|
|
"verticalLayout": [{
|
|
"margin": {
|
|
"margins": [0,0,0,8],
|
|
"widget": {"battery": {"font_size": 24.0,"length": 600}}
|
|
}
|
|
},{
|
|
"margin": {
|
|
"margins": [0,0,0,8],
|
|
"widget": {"backlight": {"font_size": 24.0,"length": 600}}
|
|
}
|
|
},{
|
|
"margin": {
|
|
"margins": [0,0,0,8],
|
|
"widget": {"pulseAudio": {"font_size": 24.0,"length": 600}}
|
|
}
|
|
}]
|
|
}
|
|
]},
|
|
{"calendar": {"font_size": 16.0,"sections": 3}},
|
|
{"launcher": {"font_size": 32.0,"length": 1200}}
|
|
]}
|
|
}
|
|
},
|
|
"outputMode": "active",
|
|
"scale": 1
|
|
} |