{
"layer": "top",
"modules-left": [
"custom/arch",
"hyprland/workspaces"
],
"modules-center": [
"clock",
"custom/spotify"
],
"modules-right": [
"cpu",
"memory",
"pulseaudio",
"bluetooth",
"network"
],
"custom/arch": {
"format": " ",
"tooltip": false,
"on-click": "sh $HOME/.config/rofi/bin/powermenu"
},
"hyprland/workspaces": {
"format": "{icon}",
"tooltip": false,
"all-outputs": true,
"format-icons": {
"active": "",
"default": ""
}
},
"clock": {
"format": " {0:%H:%M:%S} {0:%d.%m.%Y W%W}",
"interval": 1
},
"custom/spotify": {
"exec": "/usr/bin/python3 /home/paul/downloads/repos/Waybar/resources/custom_modules/mediaplayer.py --player spotify",
"format": "{} ",
"return-type": "json",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"cpu": {
"format": " {usage}%",
"interval": 5
},
"memory": {
"format": " {percentage}% ({used}GiB)",
"interval": 5
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"tooltip": false,
"format-icons": {
"headphone": "",
"default": [
"",
"",
"",
"",
"",
"",
"",
""
]
},
"scroll-step": 1,
},
"bluetooth": {
"format": " {status}",
"format-disabled": "", // an empty format will hide the module
"format-connected": " {num_connections}",
"tooltip-format": "{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias} {device_address}"
},
"network": {
"format": " {ifname}",
"format-ethernet": " {ipaddr}/{cidr}",
"tooltip": false,
}
}