46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
|
"cpu": {
|
|
"interval": 2,
|
|
"format": "[CPU] {usage}%",
|
|
"on-click": "$TERMINAL -e btop",
|
|
},
|
|
"custom/gpu": {
|
|
"interval": 2,
|
|
"format": "[GPU] {}%",
|
|
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
|
"return-type": "",
|
|
"on-click": "$TERMINAL -e nvtop",
|
|
},
|
|
"memory": {
|
|
"interval": 2,
|
|
"format": "[MEM] {used} G",
|
|
"on-click": "$TERMINAL -e btop",
|
|
},
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": "[SSD] {specific_used:0.0f} G",
|
|
"path": "/",
|
|
"unit": "GiB",
|
|
"on-click": "$TERMINAL -e dua i /",
|
|
},
|
|
"custom/processes": {
|
|
"interval": 2,
|
|
"format": "[PRC] {}",
|
|
"exec": "ps --ppid 2 -p 2 --deselect --no-headers | wc -l",
|
|
"return-type": "",
|
|
"tooltip-format": "Number of running processes",
|
|
"on-click": "$TERMINAL -e btop",
|
|
},
|
|
"wireplumber": {
|
|
"format": "[VOL] {volume}%",
|
|
"format-muted": "",
|
|
"scroll-step": 5,
|
|
"on-click": "easyeffects",
|
|
},
|
|
"clock": {
|
|
"interval": 60,
|
|
"format": "[CLK] {:%H:%M}",
|
|
"tooltip-format": "{:%A, %Y-%m-%d}",
|
|
"on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
|
|
},
|
|
} |