40 lines
976 B
Plaintext
40 lines
976 B
Plaintext
{
|
|
"layer": "bottom",
|
|
"position": "bottom",
|
|
"height": 20,
|
|
|
|
"modules-left": ["sway/workspaces"],
|
|
"modules-right": ["mpris", "pulseaudio", "temperature", "memory", "cpu", "clock", "tray"],
|
|
|
|
"sway/workspaces": { "disable-scroll": true },
|
|
|
|
"clock": { "format": "{:%a %d %b %H:%M:%S}", "interval": 1, "tooltip": false },
|
|
|
|
"mpris": {
|
|
"player": "spotify",
|
|
"format": " {title} — {artist} | ",
|
|
"title-len": 30,
|
|
"artist-len": 20,
|
|
"ellipsis": true,
|
|
"interval": 2
|
|
},
|
|
|
|
"temperature": {
|
|
"format": " | {temperatureC}°C | ",
|
|
"critical-threshold": 80,
|
|
"interval": 5,
|
|
"tooltip": false
|
|
/* If it shows 0°C, set one of these explicitly:
|
|
"thermal-zone": 0,
|
|
or
|
|
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input"
|
|
*/
|
|
},
|
|
|
|
"memory": { "format": "{percentage}% | ", "interval": 5, "tooltip": false },
|
|
|
|
"cpu": { "format": "{usage}% | ", "interval": 2, "tooltip": false },
|
|
|
|
"tray": { "spacing": 7 }
|
|
}
|