dotfiles/waybar/.config/waybar/config

101 lines
3.7 KiB
Plaintext

{
"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": "<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
},
"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-good": "", // An empty format will hide the module
"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-good": "", // An empty format will hide the module
"format-full": "<span foreground='#88C0D0'></span> 100%",
"format-icons": ["", "", ""]
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"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": {
// "scroll-step": 1, // %, can be a float
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
"format-muted": "<span foreground='#88C0D0'>婢</span>",
"format-icons": {
"default": ["", "墳", ""]
},
"on-click": "",
"ignored-sinks": ["EasyEffects Sink"]
},
"custom/org-pomodoro": {
"format": "<span foreground='#88C0D0'>祥</span> {}",
"exec": "$HOME/.local/share/scripts/org-clock-status",
"interval": 2
}
}