100 lines
3.1 KiB
Plaintext
100 lines
3.1 KiB
Plaintext
{
|
|
"height": 37, // Waybar height (to be removed for auto height)
|
|
"modules-left": ["sway/workspaces", "mpd"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["cpu", "memory", "temperature", "pulseaudio", "backlight", "battery", "network", "tray"],
|
|
|
|
// Modules configuration
|
|
"sway/workspaces": {
|
|
"disable-scroll": false,
|
|
"all-outputs": true,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"1": " ",
|
|
"2": " ",
|
|
"3": " ",
|
|
"4": " ",
|
|
"5": " ",
|
|
"urgent": " ",
|
|
"default": "●"
|
|
}
|
|
},
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": "{:%I:%M %p} ",
|
|
"format-alt": "{:%A, %B %d, %Y} "
|
|
},
|
|
"mpd": {
|
|
"format-stopped": "⏹",
|
|
"format-disconnected": "Disconnected ",
|
|
"state-icons": {
|
|
"playing": "⏵",
|
|
"paused": "⏸"
|
|
},
|
|
"format": "{stateIcon} | {artist} - {album} - {title} | ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
|
|
"on-click": "mpc toggle"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"temperature": {
|
|
"critical-threshold": 80,
|
|
"format": "{temperatureC}°C {icon}",
|
|
"format-icons": [" ", " ", " "]
|
|
},
|
|
"backlight": {
|
|
"format": "{icon} {percent}%",
|
|
"format-icons": ["🌑 ", "🌕 "],
|
|
"on-scroll-up": "light -A 1",
|
|
"on-scroll-down": "light -U 1"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"tooltip-format": "{timeTo}, {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": "↱ ",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
"format-wifi": "直 ",
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "睊 ",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
|
"tooltip-format": "{essid} {signalStrength}%"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}% {format_source}",
|
|
"format-bluetooth": "{icon} {volume}% {format_source}",
|
|
"format-bluetooth-muted": "婢 {volume}% {format_source}",
|
|
"format-muted": "婢 {format_source}",
|
|
"format-source": " ",
|
|
"format-source-muted": " ",
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"default": [" ", " ", " "]
|
|
},
|
|
"tooltip-format": "{desc}, {volume}%",
|
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
|
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
|
"on-click-middle": "pavucontrol"
|
|
}
|
|
}
|