{
"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
"fixed-center": true,
// Choose the order of the modules
"modules-left": ["wlr/workspaces", "cpu", "memory", "disk"],
"modules-center": ["clock", "mpd"],
"modules-right": ["backlight", "battery", "pulseaudio", "network", "tray"],
// Modules configuration
"wlr/workspaces": {
"disable-scroll": false,
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"all-outputs": true,
"format": "{icon}",
"on-click": "activate",
"format-icons": {
"active": "",
"default": ""
},
"sort-by-number": true
},
"mpd": {
"format": "{title} - {artist}",
"format-disconnected": "Disconnected",
"format-stopped": "Stopped",
"max-length": 50,
"on-click": "~/.config/rofi/bin/music",
"on-click-right": "alacritty -e ncmpcpp"
},
"tray": {
//"icon-size": 11,
"spacing": 5
},
"clock": {
// "timezone": "America/New_York",
"format": " {:%H:%M}",
"tooltip-format": " {:%Y %B}\n{calendar}",
"format-alt": " {:%Y-%m-%d}"
},
"cpu": {
"interval": 10,
"format": " {}%",
"max-length": 10
},
"memory": {
"interval": 30,
"format": " {}%",
"max-length": 10
},
"disk": {
"interval": 30,
"format": " {percentage_used}%",
"path": "/"
},
"network": {
"format-wifi": "直 {essid}",
"format-ethernet": "歷 {ifname}",
"format-linked": "歷 {ifname}",
"format-disconnected": "轢 Disconected",
"family": "ipv4",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n⬆️ {bandwidthUpBits} ⬇️ {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n⬆️ {bandwidthUpBits} ⬇️ {bandwidthDownBits}",
"on-click": "~/.config/rofi/bin/network_menu",
"on-click-right": "nm-connection-editor"
},
"pulseaudio": {
"scroll-step": 3, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {icon} {volume}%",
"format-bluetooth-muted": "婢 MUTE",
"format-muted": "婢 MUTE",
//"format-source": "{volume}% ",
//"format-source-muted": "",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"default": ["奄", "奄", "", "", "", ""]
},
"on-double-click": "pavucontrol",
"on-click": "pulsemixer --unmute",
"on-click-right": "pulsemixer --mute"
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
"format-icons": ["", "", "", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{icon} {percent}%",
"format-icons": ["", "", "", "", "", "", "", ""]
}
}