89 lines
2.3 KiB
Plaintext
89 lines
2.3 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"modules-left": ["custom/os","hyprland/workspaces"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["cpu","custom/gpu","memory","disk","network","custom/power"],
|
|
"clock": {
|
|
"interval": 60,
|
|
"format": "{:%H : %M}",
|
|
"tooltip-format": "{:%A, %Y-%m-%d}",
|
|
"on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy"
|
|
},
|
|
"cpu": {
|
|
"interval": 2,
|
|
"format": "<span color='#ffffff7f'>{icon}</span> {usage}%",
|
|
"format-icons": ["", "", ""],
|
|
"max-length": 10,
|
|
"on-click": "$TERMINAL -e btop",
|
|
},
|
|
"custom/gpu": {
|
|
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
|
"format": "<span color='#ffffff7f'> </span> {}%",
|
|
"return-type": "",
|
|
"interval": 2,
|
|
"on-click": "$TERMINAL -e nvtop",
|
|
},
|
|
"memory": {
|
|
"interval": 2,
|
|
"format": "<span color='#ffffff7f'> </span>{used} GiB",
|
|
"max-length": 10,
|
|
"on-click": "$TERMINAL -e btop",
|
|
},
|
|
"network": {
|
|
"interval": 2,
|
|
"format": " {ifname}",
|
|
"format-wifi": " {essid}",
|
|
"format-ethernet": "<span color='#ffffff7f'> </span>{bandwidthUpBits} <span color='#ffffff7f'> </span>{bandwidthDownBits}",
|
|
"format-disconnected": "",
|
|
"tooltip-format": "{ifname} via {gwaddr}",
|
|
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
|
|
"tooltip-format-ethernet": " {ifname}",
|
|
"tooltip-format-disconnected": "",
|
|
"max-length": 50,
|
|
"on-click": "$TERMINAL -e nethogs",
|
|
},
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": "<span color='#ffffff7f'> </span>{used}",
|
|
"path": "/",
|
|
"on-click": "$TERMINAL -e dua i",
|
|
},
|
|
"mpris": {
|
|
"format": "{player_icon} {title}",
|
|
"format-paused": "{status_icon} {title}",
|
|
"player-icons": {
|
|
"default": "",
|
|
"mpv": ""
|
|
},
|
|
"status-icons": {
|
|
"paused": ""
|
|
},
|
|
"title-len": 30,
|
|
},
|
|
"wireplumber": {
|
|
"format": "<span color='#ffffff7f'>{icon}</span> {volume}%",
|
|
"format-muted": "",
|
|
"scroll-step": 5,
|
|
"on-click": "helvum",
|
|
"format-icons": ["", "", ""],
|
|
},
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"persistent-workspaces": {
|
|
"*": 9
|
|
},
|
|
"format-icons": {
|
|
"urgent": "",
|
|
"active": "",
|
|
"default": ""
|
|
},
|
|
"sort-by-number": true,
|
|
},
|
|
"custom/os":{
|
|
"format": "",
|
|
"tooltip": false,
|
|
"on-click": "$TERMINAL --hold -e neofetch",
|
|
},
|
|
}
|