57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"position": "bottom",
|
|
|
|
"modules-left": ["custom/arch", "niri/workspaces", "niri/window"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["niri/language", "battery", "temperature"],
|
|
|
|
"niri/workspaces": {
|
|
"format": "{value}",
|
|
},
|
|
|
|
"niri/language": {
|
|
"format": " {}",
|
|
"format-ru": "RU",
|
|
"format-en": "US",
|
|
"format-us": "US",
|
|
},
|
|
|
|
"niri/window": {
|
|
"format": "{title}",
|
|
"separate-outputs": true,
|
|
},
|
|
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15,
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-icons": ["", "", "", "", ""],
|
|
},
|
|
|
|
"temperature": {
|
|
"interval": 1,
|
|
"critical-threshold": 80,
|
|
"warning-threshold": 65,
|
|
"format": "{icon} {temperatureC}°C",
|
|
"format-warning": " {temperatureC}°C",
|
|
"format-critical": " {temperatureC}°C",
|
|
"format-icons": ["", "", ""],
|
|
},
|
|
|
|
"clock": {
|
|
"interval": 1,
|
|
"format": "{:%H:%M:%S}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format-alt": "{:%Y-%m-%d}",
|
|
},
|
|
|
|
"custom/arch": {
|
|
"format": "",
|
|
"tooltip": "Arch Linux",
|
|
},
|
|
}
|