dotfiles/config/waybar/config.jsonc
2025-08-02 11:43:36 +03:30

57 lines
1.7 KiB
JSON

{
"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 40, // Waybar height (to be removed for auto height)
"modules-left": ["niri/workspaces"],
"modules-center": ["niri/window"],
"modules-right": ["pulseaudio", "network", "battery", "battery#bat2", "clock", "tray"],
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"format": "T: {:%H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "B: {capacity}%",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format-alt": "{time} ",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "WiFi",
"format-ethernet": "{ifname}: Ethernet",
"format-linked": "{ifname} (No IP)",
"format-disconnected": "Disconnected",
"format-alt": "{ifname}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "V: {volume}%",
"format-bluetooth": "{volume}% {format_source}",
"format-bluetooth-muted": "{format_source}",
"format-muted": "{format_source}",
"format-source": "{volume}%",
"format-source-muted": "[MUTED]",
"on-click": "pavucontrol"
}
}