{ "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": ["clock"], "modules-right": ["cpu", "memory", "network", "pulseaudio", "battery", "custom/power"], "sway/workspaces": { "disable-scroll": true }, "clock": { "format": " {:%H:%M %d.%m.}", "timezone": "Europe/Berlin" }, "cpu": { "interval": 5, "format": " {usage}%" }, "memory": { "interval": 5, "format": " {used} GiB/{total} GiB ({percentage}%)" }, "network": { "format-ethernet": " {ipaddr}", "format-wifi": "{icon} {essid}", "format-disconnected": "", "format-icons": ["", "", "", "", ""] }, "pulseaudio": { "format": "{icon} {volume}%", "format-muted": " muted", "format-icons": ["", "", ""], "reverse-scrolling": true, "on-click": "swaymsg exec amixer -q set Master toggle" }, {% if isNotebook %} "battery": { "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-icons": ["", "", "", "", ""] }, {% endif %} "custom/power":{ "format":"  ", "on-click":"swaynag -t warning -m 'Power Menu Options' -b 'Logout' 'swaymsg exit' -b 'Suspend' 'swaymsg exec sudo systemctl suspend' -b 'Reboot' 'swaymsg exec sudo systemctl reboot' -b 'Shutdown' 'swaymsg exec sudo systemctl poweroff'" } }