From 4ff4ddb25091995685b600267909b01d894f2eb9 Mon Sep 17 00:00:00 2001 From: Leon Hazen Date: Thu, 10 Jul 2025 20:57:19 +1000 Subject: [PATCH] Add collapsing tray to waybar --- config/waybar/config | 19 +++++++++++++++++++ config/waybar/style.css | 2 ++ 2 files changed, 21 insertions(+) diff --git a/config/waybar/config b/config/waybar/config index 86cb205..ca843a7 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -10,6 +10,7 @@ "clock" ], "modules-right": [ + "group/tray", "bluetooth", "network", "pulseaudio", @@ -100,5 +101,23 @@ "tooltip-format": "Playing at {volume}%", "on-click-right": "pamixer -t", "ignored-sinks": ["Easy Effects Sink"] + }, + "group/tray": { + "orientation": "inherit", + "drawer": { + "transition-duration": 600 + }, + "modules": [ + "custom/expand", + "tray" + ] + }, + "custom/expand": { + "format": " ", + "tooltip": false + }, + "tray": { + "icon-size": 12, + "spacing": 12 } } diff --git a/config/waybar/style.css b/config/waybar/style.css index 672536a..cc80246 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -17,6 +17,8 @@ } #custom-dropbox, +#custom-expand, +#tray, #cpu, #battery, #network,