{
"layer": "top", // Waybar at top layer
"height": 25, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces" ],
"modules-center": ["custom/org-pomodoro", "clock"],
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"mpd": {
"format": "{stateIcon} {title}",
"format-disconnected": "",
"format-stopped": "{stateIcon} ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
"tooltip-format-disconnected": "MPD (disconnected)",
"title-len": 50
},
"clock": {
"format": "{:%a %d %b %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"battery": {
"bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 10
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-full": " 100%",
"format-icons": ["", "", ""]
},
"battery#bat2": {
"bat": "BAT1",
"states": {
"good": 95,
"warning": 30,
"critical": 10
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-full": " 100%",
"format-icons": ["", "", ""]
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{icon} {essid}",
"format-ethernet": " Connected",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "睊 Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"format-icons": ["直", "直", "直"],
"tooltip-format": "Online",
"tooltip-format-disconnected": "Offline"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-muted": "婢",
"format-icons": {
"default": ["", "墳", ""]
},
"on-click": "",
"ignored-sinks": ["EasyEffects Sink"]
},
"custom/org-pomodoro": {
"format": "祥 {}",
"exec": "$HOME/.local/share/scripts/org-clock-status",
"interval": 2
}
}