dotfiles/configs/waybar/config

58 lines
1.6 KiB
Text
Raw Normal View History

{
"position": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
2022-11-20 10:25:51 +03:00
"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": {
2022-08-30 13:40:40 +03:00
"format": "{:%H:%M:%S}",
2022-08-30 12:27:19 +03:00
"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}%",
2022-08-30 13:40:40 +03:00
"interval": 1
},
"memory": {
2022-08-30 13:40:40 +03:00
"format": "RAM: {}%",
"interval": 1
},
"temperature": {
2022-08-09 16:43:55 +03:00
"format": "{temperatureC}°C",
"interval": 1
},
"battery": {
2022-08-09 16:43:55 +03:00
"format": "Bat: {capacity}%",
"format-charging": "Bat: {capacity}% (charging)",
"format-plugged": "Bat: {capacity}% (plugged)",
2022-08-30 13:40:40 +03:00
"interval": 10
},
"network": {
2022-08-30 12:27:19 +03:00
"format": "Network via {ifname}",
"tooltip-format": "{ipaddr}/{cidr}",
2022-08-30 12:27:19 +03:00
"format-linked": "Network (No IP) via {ifname}",
"format-disconnected": "No network",
"on-click": "GTK_THEME=Adwaita-dark iwgtk"
},
}