{
"layer": "top",
"position": "top",
"width": "auto",
"height": 36,
"modules-left": ["ext/workspaces"],
"modules-center": ["clock"],
"modules-right": ["bluetooth", "wireplumber", "network", "cpu", "memory", "battery", "custom/power"],
"custom/power": {
"format-icons": [""],
"format": "{icon}",
"tooltip": false,
"on-click": "~/.local/bin/rofi-power-manager.sh"
},
"ext/workspaces": {
"disable-scroll": true,
"ignore-hidden": true,
"all-outputs": false,
"on-click": "activate",
"format": "{name}"
},
"cpu": {
"format-icons": [""],
"format": "{usage}% {icon}",
"tooltip": false
},
"memory": {
"format-icons": [""],
"format": "{}% {icon}"
},
"network": {
"max-length": 10,
"format-wifi": "{essid} ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"on-click": "ghostty -e nmtui & disown"
// "format-alt": "{ifname}: {ipaddr}/{cidr}",
},
"clock": {
"format": "{:%b %d - %H:%M}",
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
"on-scroll" : 1,
"format": {
"today": "{}"
}
},
"actions": {
"on-scroll-up": "shift_down",
"on-scroll-down": "shift_up"
}
},
"bluetooth": {
"format": "",
"format-disabled": "",
"tooltip": false,
"on-click": "blueman-manager"
},
"wireplumber": {
"format": "{volume}% {icon}",
"format-icons": {
"default": ["", "", ""]
},
"format-muted": "",
"on-click": "pavucontrol"
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-full": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
}
}