From 79de974d7a658d2a8f3e27f5af10e7d918c5de44 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:30 +0100 Subject: feat(waybar): add dock indicator next to battery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Detects the ThinkPad USB-C Dock Gen2 by its built-in ethernet adapter (USB 17ef:a387) — the dock's USB hubs share product IDs with internal ThinkPad hubs but the ethernet only exists when the dock is attached. The custom/dock module sits to the left of battery; collapses to empty text when undocked so the bar stays clean on the go. Green dock glyph when docked. --- dot_config/waybar/style.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dot_config/waybar/style.css') diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css index 71c8b3d..f0d764d 100644 --- a/dot_config/waybar/style.css +++ b/dot_config/waybar/style.css @@ -49,6 +49,7 @@ window#waybar { #custom-memory, #custom-wifi, #custom-webcam, +#custom-dock, #custom-notifications, #custom-thunderbird { padding: 0 6px; @@ -123,6 +124,10 @@ window#waybar { color: #fb4934; /* red — only rendered when webcam is in use */ } +#custom-dock.docked { + color: #b8bb26; /* green — desk mode */ +} + #custom-notifications { color: #928374; /* gray baseline */ } -- cgit v1.3.1