mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-22 08:05:07 +03:00
62 lines
1.7 KiB
Text
62 lines
1.7 KiB
Text
{
|
|
"position": "top",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": [],
|
|
"modules-right": ["idle_inhibitor", "cpu", "temperature", "memory", "custom/loadavg", "network", "pulseaudio", "battery", "sway/language", "clock", "tray"],
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "0",
|
|
"deactivated": "O"
|
|
}
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format": "{:%H:%M:%S %d.%m.%Y}",
|
|
"interval": 1
|
|
},
|
|
"pulseaudio": {
|
|
"scroll-step": 1,
|
|
"format": "Volume: {volume}%",
|
|
"format-bluetooth": "Volume: {volume}% (BT)",
|
|
"format-bluetooth-muted": "Volume: {icon} (BT)",
|
|
"format-muted": "Vol: {volume}%",
|
|
"on-click": "pavucontrol"
|
|
},
|
|
"cpu": {
|
|
"format": "CPU: {usage}%",
|
|
"interval": 1
|
|
},
|
|
"memory": {
|
|
"format": "RAM: {}%",
|
|
"interval": 1
|
|
},
|
|
"custom/loadavg": {
|
|
"exec": "cat /proc/loadavg | head -c 14",
|
|
"return-type": "{}",
|
|
"format": "Load average: {}",
|
|
"interval": 1
|
|
},
|
|
"temperature": {
|
|
"format": "Temperature: {temperatureC}°C",
|
|
"interval": 1
|
|
},
|
|
"battery": {
|
|
"format": "Battery: {capacity}%",
|
|
"format-charging": "Battery: {capacity}% (charging)",
|
|
"format-plugged": "Battery: {capacity}% (plugged)",
|
|
"interval": 10
|
|
},
|
|
"network": {
|
|
"format": "Network via {ifname}",
|
|
"tooltip-format": "{ipaddr}/{cidr}",
|
|
"format-linked": "Network (No IP) via {ifname}",
|
|
"format-disconnected": "No network",
|
|
"on-click": "iwgtk"
|
|
},
|
|
}
|