diff --git a/sway/.config/waybar/config b/sway/.config/waybar/config index a0085bf..33d6993 100644 --- a/sway/.config/waybar/config +++ b/sway/.config/waybar/config @@ -1,4 +1,4 @@ -{ +[{ "layer": "top", "output": "eDP-1", "height": 30, @@ -53,3 +53,59 @@ "spacing": 10, } }, +{ + "layer": "bottom", + "position": "bottom", + "output": "DP-2", + "height": 30, + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window"], + "modules-right": ["pulseaudio", "battery", "tray", "clock"], + "sway/window": { + "max-length": 50 + }, + "sway/workspaces": { + "all-outputs": true + }, + "battery": { + "states": { + // "good": 95, + "warning": 20, + "critical": 10 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + "clock": { + "format": "{:%a, %d. %b %H:%M}", + "on-click": "gnome-calendar" + }, + "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": "pavucontrol" + }, + "tray": { + "icon-size": 21, + "spacing": 10, + } +}]