From 3630c6693098eb278ce12fe2caf5bdb282189e6f Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 16 Apr 2022 23:17:44 +0100 Subject: [PATCH] chore(workspaces): minor improvement to custom tab format --- modules/workspaces/siren-tab-bar.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/workspaces/siren-tab-bar.el b/modules/workspaces/siren-tab-bar.el index d825d8e..51556f7 100644 --- a/modules/workspaces/siren-tab-bar.el +++ b/modules/workspaces/siren-tab-bar.el @@ -124,8 +124,9 @@ (hint-face (if current-p 'siren-tab-bar-tab-hint 'siren-tab-bar-tab-hint-inactive))) - (concat (propertize (if tab-bar-tab-hints (format " %d:" (- i 1)) " ") - 'face hint-face) + (concat (propertize " " 'face tab-face) + (if tab-bar-tab-hints (propertize + (format "%d:" (- i 1)) 'face hint-face)) (propertize (concat (alist-get 'name tab)