From 792a86d44ab6391e551eaee4dcf4e429754e1b27 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 7 Feb 2026 20:14:41 -0800 Subject: [PATCH] taffybar: position workspace number labels inside squircle pills Use padding on the workspace-label (not margin on the overlay-box, which GTK overlays ignore) to inset the number into the pill area. Co-Authored-By: Claude Opus 4.6 --- dotfiles/config/taffybar/taffybar.css | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dotfiles/config/taffybar/taffybar.css b/dotfiles/config/taffybar/taffybar.css index 001ce4c3..48bfd928 100644 --- a/dotfiles/config/taffybar/taffybar.css +++ b/dotfiles/config/taffybar/taffybar.css @@ -169,22 +169,16 @@ .workspaces .overlay-box { transition: background-color .2s, border-color .2s; - /* Offset from the bottom-left anchor into the pill area. - Increase margin-left to push right, margin-bottom to push up. */ - margin-left: 6px; - margin-top: 4px; - background-color: transparent; border: none; + margin: 0px; padding: 0px; } .workspaces .overlay-box .workspace-label { - /* GtkLabel often doesn't paint its own background, so style the eventbox and - keep the label itself transparent. */ background-color: transparent; border: none; - padding: 0px; + padding: 2px 5px 5px 12px; color: rgba(255, 255, 255, 0.92); }