// -*- mode: json -*- { "layer": "top", "position": "top", "modules-left": [ "sway/workspaces", "sway/window" ], "modules-center": [], "modules-right": [ "pulseaudio", "custom/network", "custom/disk", "memory", "custom/top", "battery", "clock#0", "tray" ], "sway/workspaces": { "disable-scroll": true, "format": "{name}" }, "sway/window": { "max-length": 70, "format": "{title}" }, "custom/network": { "exec": "/home/chodak/.config/waybar/network.py --icon-size 12pt", "interval": 10, "return-type": "json", "tooltip": true }, "clock#0": { "format": "{:%d/%m/%y %H:%M}", "tooltip": false }, "pulseaudio": { "format": "{icon} {volume:2}%", "format-bluetooth": "{icon} {volume}%", "format-muted": "MUTE", "format-icons": { "headphones": "", "default": [ "", "" ] }, "scroll-step": 5, "on-click": "pamixer -t", "on-click-right": "pavucontrol" }, "memory": { "interval": 5, "format": " {}%" }, "custom/top": { "exec": "~/.config/waybar/top.sh", "interval": 5, "return-type": "json", "tooltip": true }, "battery": { "states": { "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-icons": [ "", "", "", "", "" ] }, "custom/disk": { "exec": "/home/chodak/.config/waybar/disk.py --icon-size 10pt", "interval": 30, "return-type": "json", "tooltip": true, "escape": false }, "tray": { "icon-size": 24 } }