{
"position": "top",
"modules-left": ["sway/workspaces"],
"modules-right": ["network", "pulseaudio", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}",
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
},
"format-icons": {
"default": "",
"urgent": "",
"focused": ""
}
},
"custom/spotify": {
"format": " {}",
"interval": 1,
"exec-if": "pgrep spotify",
"on-click": "playerctl -p spotify play-pause",
"on-scroll-up": "playerctl -p spotify previous",
"on-scroll-down": "playerctl -p spotify next",
"tooltip": false,
"escape": true,
"MAX-LENGTH": 60,
"exec": "/home/loki/bin/spotify.sh"
},
"clock": {
"format": "{:%a %d %H:%M} ",
"tooltip-format": "{:%Y %B}\n{calendar}"
},
"network": {
"forletmat-disconnected": "Disconnected ",
"format-ethernet": "{ipaddr} "
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]
}
}