mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-25 09:35:06 +03:00
73 lines
1.9 KiB
Text
73 lines
1.9 KiB
Text
{
|
|
"height": 38,
|
|
"position": "top",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": [],
|
|
"modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "wireplumber", "battery", "sway/language", "clock"],
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "Don't idle",
|
|
"deactivated": "Idling"
|
|
}
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format": "{:%H:%M:%S %Y-%m-%d}",
|
|
"interval": 1
|
|
},
|
|
"wireplumber": {
|
|
"scroll-step": 1,
|
|
"format": "Vol: {volume}%",
|
|
"format-muted": "Vol: muted",
|
|
"on-click": "pavucontrol"
|
|
},
|
|
"cpu": {
|
|
"format": "CPU: {usage}%",
|
|
"interval": 1
|
|
},
|
|
"memory": {
|
|
"format": "RAM: {}%",
|
|
"interval": 1
|
|
},
|
|
"custom/absclock": {
|
|
"exec": "date +%s",
|
|
"return-type": "{}",
|
|
"format": "{}",
|
|
"interval": 1
|
|
},
|
|
"custom/loadavg": {
|
|
"exec": "cat /proc/loadavg | head -c 14",
|
|
"return-type": "{}",
|
|
"format": "Load average: {}",
|
|
"interval": 1
|
|
},
|
|
"custom/uptime": {
|
|
"exec": "uptime -p | sed 's/up //g' -",
|
|
"return-type": "{}",
|
|
"format": "Uptime: {}",
|
|
"interval": 60,
|
|
},
|
|
"temperature": {
|
|
"format": "Temperature: {temperatureC}°C",
|
|
"interval": 1
|
|
},
|
|
"battery": {
|
|
"format": "Bat: {capacity}%",
|
|
"format-charging": "Bat: {capacity}% (charging)",
|
|
"format-plugged": "Bat: {capacity}% (plugged)",
|
|
"interval": 10
|
|
},
|
|
"network": {
|
|
"format": "Net via {ifname}",
|
|
"tooltip-format": "{ipaddr}/{cidr}",
|
|
"format-linked": "Net (No IP) via {ifname}",
|
|
"format-disconnected": "No net",
|
|
"on-click": ""
|
|
},
|
|
}
|