dotfiles/waybar/.config/waybar/config

83 lines
3.0 KiB
Plaintext

{
"layer": "top",
"height": 25,
"modules-left": ["sway/workspaces" ],
"modules-center": ["custom/org-pomodoro", "clock"],
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
"mpd": {
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {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,
"on-click": "mpc toggle",
"on-click-right": "mpc stop"
},
"clock": {
"format": "{:%a %d %b %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"battery": {
"bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 10
},
"format": "<span foreground='#88C0D0'>{icon}</span> {capacity}%",
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
"format-alt": "{time} {icon}",
"format-full": "<span foreground='#88C0D0'></span> 100%",
"format-icons": ["", "", ""]
},
"battery#bat2": {
"bat": "BAT1",
"states": {
"good": 95,
"warning": 30,
"critical": 10
},
"format": "<span foreground='#88C0D0'>{icon}</span> {capacity}%",
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
"format-alt": "{time} {icon}",
"format-full": "<span foreground='#88C0D0'></span> 100%",
"format-icons": ["", "", ""]
},
"network": {
"format-wifi": "<span foreground='#88C0D0'>{icon}</span> {essid}",
"format-ethernet": "<span foreground='#88C0D0'></span> Connected",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "<span foreground='#88C0D0'>睊</span> Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"format-icons": ["直", "直", "直"],
"tooltip-format": "Online",
"tooltip-format-disconnected": "Offline"
},
"pulseaudio": {
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
"format-muted": "<span foreground='#88C0D0'>婢</span>",
"format-icons": {
"default": ["", "墳", ""]
},
"on-click": "",
"ignored-sinks": ["Easy Effects Sink"]
},
"custom/org-pomodoro": {
"format": "<span foreground='#88C0D0'>祥</span> {}",
"exec": "$HOME/.local/share/scripts/org-clock-status",
"interval": 2
}
}