dotfiles/configs/waybar/config

58 lines
1.6 KiB
Plaintext

{
"position": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "network", "cpu", "memory", "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}",
"format-alt": "{:%d.%m.%Y}",
"interval": 1
},
"pulseaudio": {
"scroll-step": 1,
"format": "Vol: {volume}%",
"format-bluetooth": "Vol: {volume}% ",
"format-bluetooth-muted": "Vol: {icon}",
"format-muted": "Vol: {volume}%",
"on-click": "pavucontrol"
},
"cpu": {
"format": "CPU: {usage}%",
"interval": 1
},
"memory": {
"format": "RAM: {}%",
"interval": 1
},
"temperature": {
"format": "{temperatureC}°C",
"interval": 1
},
"battery": {
"format": "Bat: {capacity}%",
"format-charging": "Bat: {capacity}% (charging)",
"format-plugged": "Bat: {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"
},
}