2020-05-06 22:01:14 +00:00
|
|
|
// https://github.com/Alexays/Waybar/wiki/Configuration
|
|
|
|
|
|
|
|
{
|
|
|
|
"layer": "top",
|
|
|
|
"position": "bottom",
|
2020-05-07 17:43:25 +00:00
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
|
|
"modules-center": ["sway/window"],
|
|
|
|
"modules-right": ["mpd", "disk", "network", "pulseaudio", "clock", "tray"],
|
|
|
|
|
|
|
|
"disk": {
|
2020-05-09 06:42:34 +00:00
|
|
|
"format": "💽{percentage_free}%"
|
2020-05-07 17:43:25 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"clock": {
|
2020-05-09 06:42:34 +00:00
|
|
|
"format": "📅 <b>{:%m-%d / %H:%M}</b>",
|
2020-05-07 17:43:25 +00:00
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
|
|
},
|
|
|
|
|
2020-05-09 06:42:34 +00:00
|
|
|
"network": {
|
|
|
|
"format-ethernet": "🖥️ {ifname}: {ipaddr}/{cidr}",
|
|
|
|
"format-wifi": " {essid} ({signalStrength}%)"
|
|
|
|
},
|
|
|
|
|
2020-05-07 17:43:25 +00:00
|
|
|
"pulseaudio": {
|
2020-05-09 06:42:34 +00:00
|
|
|
"format": "{icon} {volume}%",
|
|
|
|
"format-bluetooth": "{icon} {volume}%",
|
|
|
|
"format-muted": "",
|
|
|
|
"format-icons": {
|
|
|
|
"headphones": "",
|
|
|
|
"handsfree": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["", ""]
|
|
|
|
},
|
2020-05-07 17:43:25 +00:00
|
|
|
"on-click": "pavucontrol"
|
|
|
|
}
|
2020-05-06 22:01:14 +00:00
|
|
|
}
|
|
|
|
|
2020-05-07 17:43:25 +00:00
|
|
|
// vim: set ft=json5 ts=4 sw=4 tw=0 :
|
2020-05-06 22:01:14 +00:00
|
|
|
|