Includes modular setup, device profile support, and documentation. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"modules-left": ["hyprland/workspaces"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["idle_inhibitor", "backlight", "cpu", "memory", "disk", "temperature", "pulseaudio", "network", "battery", "tray"],
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
|
"on-scroll-down": "hyprctl dispatch workspace e+1",
|
|
"all-outputs": true,
|
|
"persistent-workspaces": {
|
|
"*": [1,2,3,4,5,6,7,8,9]
|
|
}
|
|
},
|
|
"clock": {
|
|
"format": "{:%a %d.%m %H:%M}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
},
|
|
"cpu": {
|
|
"format": " {usage}%"
|
|
},
|
|
"memory": {
|
|
"format": " {used}G/{total}G"
|
|
},
|
|
"temperature": {
|
|
"critical-threshold": 80,
|
|
"format": " {temperatureC}°C"
|
|
},
|
|
"backlight": {
|
|
"device": "intel_backlight",
|
|
"format": " {percent}%"
|
|
},
|
|
"disk": {
|
|
"format": " {free} free",
|
|
"path": "/"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": " {status}",
|
|
"format-alt": " {status}"
|
|
},
|
|
"network": {
|
|
"format-wifi": " {essid} ({signalStrength}%)",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"format-linked": " {ifname} (No IP)",
|
|
"format-disconnected": " Disconnected",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
|
"tooltip-format": "{ifname} via {gwaddr}",
|
|
"tooltip-format-wifi": " {essid} ({signalStrength}%)\n{ifname}: {ipaddr}/{cidr}\nGateway: {gwaddr}",
|
|
"tooltip-format-ethernet": " {ifname}: {ipaddr}/{cidr}\nGateway: {gwaddr}",
|
|
"on-click": "nm-connection-editor"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}%",
|
|
"format-muted": " Muted",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}% ({time})",
|
|
"format-plugged": " {capacity}%",
|
|
"format-alt": "{icon} {capacity}% • {power:.1f}W • {time}",
|
|
"format-time": "{H}h {M}m",
|
|
"tooltip-format": "{capacity}% • {power:.1f}W\n{timeTo}",
|
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
|
}
|
|
}
|