diff --git a/de/home/.config/eww/modules/bar/workspaces.yuck b/de/home/.config/eww/modules/bar/workspaces.yuck index 0299852..7d4624b 100644 --- a/de/home/.config/eww/modules/bar/workspaces.yuck +++ b/de/home/.config/eww/modules/bar/workspaces.yuck @@ -10,4 +10,8 @@ (for entry in array (button :onclick `swaymsg workspace "${entry.name}"` :class {entry.focused ? "focused" : ""} - '${replace(entry.name,".*:","")}')))) + (box + '${replace(entry.name,".*:","")}' + (label + :class "workspace-number" + :text {jq(captures(entry.num, '[0-9]$'),'.[].[]','r')}))))))