14bce293eb
Font and background colors for warning and critical elements can now be specified using fg-warning, fg-critical, bg-warning and bg-critical. Also, optionally, the "urgent" flag will be set towards the i3bar, if possible.
30 lines
345 B
JSON
30 lines
345 B
JSON
{
|
|
"defaults": {
|
|
"urgent": true,
|
|
"prefix": " ",
|
|
"suffix" : " ",
|
|
"cycle": [
|
|
{
|
|
"fg": "red"
|
|
},
|
|
{
|
|
"fg": "lime"
|
|
}
|
|
]
|
|
},
|
|
"battery": {
|
|
"prefix": "bat ",
|
|
"states": {
|
|
"charging": {
|
|
"suffix": "+ ",
|
|
"fg": "#00ff00"
|
|
},
|
|
"discharging": {
|
|
"suffix": "- ",
|
|
"fg": "#ff0000"
|
|
}
|
|
}
|
|
},
|
|
"time": {
|
|
}
|
|
}
|