93 lines
2.3 KiB
JSON
93 lines
2.3 KiB
JSON
{
|
|
"cpu": {
|
|
"tooltip": false,
|
|
"interval": 10,
|
|
"format": "<span size='11pt'>{usage}%</span> ",
|
|
"states": {
|
|
"warning": 75,
|
|
"critical": 90
|
|
},
|
|
"on-click": "btop"
|
|
},
|
|
"cpu#bars": {
|
|
"interval": 1,
|
|
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
|
"format-icons": [
|
|
"<span color='#69ff94'>▁</span>", // green
|
|
"<span color='#2aa9ff'>▂</span>", // blue
|
|
"<span color='#f8f8f2'>▃</span>", // white
|
|
"<span color='#f8f8f2'>▄</span>", // white
|
|
"<span color='#ffffa5'>▅</span>", // yellow
|
|
"<span color='#ffffa5'>▆</span>", // yellow
|
|
"<span color='#ff9977'>▇</span>", // orange
|
|
"<span color='#dd532e'>█</span>" // red
|
|
],
|
|
"on-click": "btop"
|
|
},
|
|
|
|
"temperature": {
|
|
"tooltip": false,
|
|
"interval": 10,
|
|
"thermal-zone": 0,
|
|
"critical-threshold": 80,
|
|
"format": "<span size='11pt'>{temperatureC}°C</span> {icon}",
|
|
"format-critical": "<span size='11pt'>{temperatureC}°C</span><span size='12pt'> </span>",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"custom/exit": {
|
|
"format": "\uF011",
|
|
"tooltip-format": "Powermenu",
|
|
"on-click": "wlogout -b 4"
|
|
},
|
|
"user": {
|
|
"format": "{user} (up {work_d} days)",
|
|
"interval": 60,
|
|
"height": 30,
|
|
"width": 30,
|
|
"icon": true,
|
|
"tooltip": true
|
|
},
|
|
"privacy": {
|
|
"icon-spacing": 4,
|
|
"icon-size": 18,
|
|
"transition-duration": 250,
|
|
"modules": [
|
|
{
|
|
"type": "screenshare",
|
|
"tooltip": true,
|
|
"tooltip-icon-size": 24
|
|
},
|
|
{
|
|
"type": "audio-out",
|
|
"tooltip": true,
|
|
"tooltip-icon-size": 24
|
|
},
|
|
{
|
|
"type": "audio-in",
|
|
"tooltip": true,
|
|
"tooltip-icon-size": 24
|
|
}
|
|
],
|
|
"ignore-monitor": true,
|
|
"ignore": [
|
|
{
|
|
"type": "audio-in",
|
|
"name": "cava"
|
|
},
|
|
{
|
|
"type": "screenshare",
|
|
"name": "obs"
|
|
}
|
|
]
|
|
},
|
|
"custom/nvidia": {
|
|
"exec": "nvidia-smi --query-gpu=utilization.gpu,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2°C/g'",
|
|
"format": "{} ",
|
|
"interval": 2
|
|
}
|
|
}
|