{
"cpu": {
"interval": 2,
"format": "{icon} {usage}%",
"format-icons": [" ", " ", " "],
"on-click": "$TERMINAL -- btop",
},
"custom/gpu": {
"interval": 2,
"format": " {}%",
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
"return-type": "",
"on-click": "$TERMINAL -- nvtop",
},
"memory": {
"interval": 2,
"format": " {used} G",
"on-click": "$TERMINAL -- btop",
},
"disk": {
"interval": 30,
"format": " {specific_used:0.0f} G",
"path": "/",
"unit": "GiB",
"on-click": "$TERMINAL -- dua i /",
},
"custom/pacman": {
"format": " {}",
"interval": 30,
"exec": "checkupdates | wc -l",
"exec-if": "exit 0",
"on-click": "$TERMINAL -- sudo pacman -Syu",
"signal": 8,
"tooltip": false,
},
"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 -- 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 -- 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 -- bandwhich",
},
"hyprland/workspaces": {
"format": "{icon}",
"persistent-workspaces": {
"*": 9
},
"format-icons": {
"default": " ",
"empty": " ",
"active": " ",
"urgent": " ",
},
"sort-by-number": true,
"on-click": "activate",
},
"wireplumber": {
"format": "{icon} {volume}%",
"format-muted": " ",
"format-icons": [" ", " ", " "],
"scroll-step": 5,
"on-click": "easyeffects",
},
"clock": {
"interval": 60,
"format": " {:%H:%M}",
"tooltip-format": "{calendar}",
"calendar": {
"format": {
"today": "{}"
}
},
"on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
},
}