// -*- mode: jsonc -*-
{
"layer": "top",
"position": "top",
"height": 30,
"width": "auto",
"spacing": 4,
"modules-left": [
"hyprland/workspaces"
],
"modules-right": [
"custom/spotify",
"tray",
"hyprland/language",
"network",
"wireplumber",
"clock"
],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"warp-on-scroll": false,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"focused": "",
"default": ""
}
},
"tray": {
// "icon-size": 20,
"spacing": 10,
// "icons": {
// "blueman": "bluetooth",
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
// }
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%d.%m.%Y}"
},
"hyprland/language": {
"format-en": "EN",
"format-ru": "RU"
},
"network": {
"format-wifi": "",
"format-ethernet": "",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"wireplumber": {
"max-volume": 100,
""
"scroll-step": 2,
"format": "{icon} {volume}%",
"format-muted": "",
"format-icons": ["", "", ""],
"on-click": "helvum"
},
"custom/spotify": {
"exec": "/usr/bin/python3 ~/.config/waybar/mediaplayer.py --player spotify",
"format": "{}",
"return-type": "json",
"on-click": "playerctl --player=spotify play-pause",
"on-scroll-up": "playerctl previous",
"on-scroll-down": "playerctl next",
"smooth-scrolling-threshold": 4.0
}
}