62 lines
1.5 KiB
JSON
62 lines
1.5 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",
|
|
},
|
|
"custom/tcp": {
|
|
"interval": 2,
|
|
"format": "[TCP] {}",
|
|
"exec": "lsof -tPniTCP | wc -l",
|
|
"return-type": "",
|
|
"tooltip-format": "Number of processes with TCP connections",
|
|
"on-click": "$TERMINAL -e bandwhich",
|
|
},
|
|
"custom/udp": {
|
|
"interval": 2,
|
|
"format": "[UDP] {}",
|
|
"exec": "lsof -tPniUDP | wc -l",
|
|
"return-type": "",
|
|
"tooltip-format": "Number of processes with UDP connections",
|
|
"on-click": "$TERMINAL -e bandwhich",
|
|
},
|
|
"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",
|
|
},
|
|
} |