{ "layer": "top", // Waybar at top layer // "output": "eDP-1", //"position": "top", // Waybar position (top|bottom|left|right) //"height": 20, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width //"spacing": 10, // Gaps between modules (4px) // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode" ], "modules-center": ["clock#clock1"], "modules-right": ["idle_inhibitor", "sway/scratchpad", "tray", "pulseaudio", "bluetooth", "network", "backlight", "sway/language", "battery", "clock#clock2", "custom/wlogout"], // Modules configuration // "sway/workspaces": { // "disable-scroll": true, // "all-outputs": true, // "warp-on-scroll": false, // "format": "{name}: {icon}", // "format-icons": { // "1": "", // "2": "", // "3": "", // "4": "", // "5": "", // "urgent": "", // "focused": "", // "default": "" // } // }, // "sway/mode": { // "format": "{}" // }, "sway/workspaces": { "all-outputs": false, }, "sway/window": { "format": "{app_id}", "max-length": 30, }, "sway/scratchpad": { "format": "{icon} {count}", "show-empty": false, "format-icons": ["", ""], "tooltip": true, "tooltip-format": "{app}: {title}" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock#clock1": { "interval": 1, "format": "{:%H:%M:%S}", "tooltip": false, }, "clock#clock2": { "format": "{:%a %b %d}", "tooltip-format": "{calendar}", "calendar": { "mode": "month", "on-scroll": 1, "format": { "today": "{}", }, }, "actions": { "on-scroll-up": "shift_down", "on-scroll-down": "shift_up", }, }, "cpu": { "format": "{usage}% ", "tooltip": false, "on-click": "footclient htop" }, "memory": { "format": "{}% ", "tooltip": false, "on-click": "footclient htop", }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, "tooltip": false, // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", "format-icons": ["", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{percent}% {icon}", "tooltip": false, "format-icons": ["", "", "", "", "", "", "", "", ""] }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}% ", "format-charging": "{capacity}% ", "format-plugged": "{capacity}% ", "format-alt": "{time} {icon}", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": [" ", " ", " ", " ", " "] }, "battery#bat2": { "bat": "BAT2" }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "", "format-ethernet": "", //"tooltip-format": "{ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "", "format-alt": "{ifname}: {ipaddr}/{cidr}", "tooltip-format-wifi": "{essid} ({signalStrength}%) \n{ifname}: {ipaddr}/{cidr} \nvia {gwaddr}", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} \nvia {gwaddr}", "tooltip-format-disconnected": "Disconnected", }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {icon} {format_source}", "format-muted": " {format_source}", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "footclient pulsemixer" }, "bluetooth": { "format": "", "format-connected": "", "format-connected-battery": "", // "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t {device_battery_percentage}%", "on-click": "footclient bluetoothctl", }, "custom/wlogout": { "format": " ", "on-click": "wlogout -p layer-shell", "tooltip": false, }, }