{
"layer": "top", // Waybar at top layer
"height": 40, // Waybar height (to be removed for auto height)
"spacing": 8, // Gaps between modules (4px)
"margin-top": 20,
"margin-left": 20,
"margin-right": 20,
"margin-down": 5,
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["network", "memory", "backlight", "pulseaudio", "hyprland/language", "tray", "battery"],
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"all-outputs": false,
"format-icons": {
"1": "α",
"2": "β",
"3": "γ",
"4": "δ",
"5": "ε",
"urgent": "λ",
"focused": "σ",
"default": "ω"}
},
"hyprland/language": {
"format": "{} ",
"format-ru": "ru",
"format-en": "en"
},
"tray": {
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"format": "{:%H:%M }",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%d %h %Y }",
"on-click": "killall calcure || alacritty -t calcure -e calcure;sudo ydotool click 0xc1"
},
"memory": {
"format": "{}% ",
"on-click": "killall btop || alacritty -t btop -e btop;sudo ydotool click 0xc1"
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", "", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
"on-click": "killall connman-gtk || connman-gtk;sudo ydotool click 0xc1"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {format_source}",
"format-bluetooth-muted": " {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"muted-icon": "",
"default": ["", "", ""]
},
"on-click": "killall bluetuith || alacritty -t blue -e bluetuith; sudo ydotool click 0xc1"
},
}