#Waybar can't show workspace number in active part of `format-icons` (hyprland)

5 messages · Page 1 of 1 (latest)

long crypt
#

Well, lmy title might've been bad, but listen.
Look, i have waybar, and its showing the workspace number in a perfect state.
but i want the active workspace to have a different colour.
but it doesn't work.
i tried {name}, {id}, and {icon}
heres config.jsonc part

    "hyprland/workspaces": {
        "disable-scroll": false,
        "all-outputs": true,
        "on-scroll-up": "hyprctl dispatch workspace e+1",
        "on-scroll-down": "hyprctl dispatch workspace e-1",
        "on-click": "activate",
        "format-icons": {
        "active": "{id}"
        },
        "format": "{icon}"
     },

unique jackal
#

hmmm, check the Waybar docs and examples for CSS styling

long crypt
#

yeah ive tried alot but i cant seem to get to work

#

HEY I DID IT!