From 2179019cbc1af615a487d13494e8d602a990c221 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sat, 22 Nov 2025 19:26:36 +0100 Subject: [PATCH] waybar: Highlight selected workspace --- modules/home/services/waybar.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/home/services/waybar.nix b/modules/home/services/waybar.nix index 5fdbae3..18078b8 100644 --- a/modules/home/services/waybar.nix +++ b/modules/home/services/waybar.nix @@ -117,6 +117,24 @@ .modules-right { padding-right: 8px; } + + #workspaces { + padding: 0px 5px; + } + + #workspaces button { + padding: 4px 10px; + margin: 2px 4px; + border-radius: 6px; + background: transparent; + color: @theme_fg_color; + } + + #workspaces button.active { + background: @theme_selected_bg_color; + color: @theme_selected_fg_color; + font-weight: bold; + } ''; }; };