{
"layer": "top",
"position": "top",
"spacing": 4,
"margin-top": 5,
"margin-bottom": 0,
"margin-left": 5,
"margin-right": 5,
"modules-left": [
"custom/icon",
"custom/separator-gap",
"cpu",
"memory",
"temperature",
"custom/separator-arrow",
"hyprland/window",
],
"modules-center": [
"hyprland/workspaces",
],
"modules-right": [
"backlight",
"pulseaudio",
"network",
"battery",
"tray",
"custom/separator-dot",
"clock",
"custom/power",
],
"custom/icon": {
"format": ""
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"max-length": 10,
"tooltip": false
},
"memory": {
"interval": 30,
"format": " {used}GiB",
"format-alt": " {used:0.1f}G",
"max-length": 10
},
"temperature": {
"format": " {temperatureF}°F"
},
"hyprland/window": {
"format": " {}",
"rewrite": {
"(.*) - NVIM": " NeoVim",
"(.*) — Mozilla Firefox": " Mozilla Firefox",
}
},
"hyprland/workspaces": {
"all-outputs": true,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"urgent": "",
"active": "",
"default": ""
}
},
"backlight": {
"format": "{icon} {percent}",
"format-icons": ["", ""],
"tooltip": false,
},
"pulseaudio": {
"format": "{icon} {volume}",
"format-bluetooth": "{icon} {volume}%",
"format-bluetooth-muted": " ",
"format-muted": " ",
"format-icons": {
"headph": "",
"default": [" ", ""],
},
"tooltip": false,
"on-click": "pavucontrol",
},
"network": {
"interval": 30,
"format-wifi": " {essid}",
"format-ethernet": " Wired",
"fomat-disconnected": " Disconnected",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected",
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [" ", " ", " ", " ", " "],
"max-length": 25,
"tooltip": false,
},
"tray": {
"icon-size": 20,
"spacing": 10,
},
"custom/separator-dot": {
"format": " ",
"tooltip": false,
"on-click": "$HOME/.config/hypr/scripts/random-wallpaper"
},
"custom/separator-gap": {
"format": " ",
"tooltip": false,
},
"custom/separator-arrow": {
"format": " ",
"tooltip": false,
},
"custom/spotify": {
"exec": "/usr/bin/python3 $HOME/.config/waybar/custom-scripts/mediaplayer.py --player spotify --verbose",
"format": "{} ",
"return-type": "json",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"custom/power": {
"format": "",
"on-click": "~/.config/rofi/bin/powermenu",
"tooltip": false,
},
}